I have taken over development of a website that integrates with Netsuite. The main way that it seems to use to get information from Netsuite about the current session (ie cart details, etc) is through the use of Javascripts. For example
http://shopping.netsuite.com/app/site/query/getcartitemcount.nl?c=xxxxxxx
gets the number of items in the cart (where c is my clients company id).
I have been trying for hours to find some kind of documentation for these as I need to get back some extra information and just can't seem to find anything useful. Does anyone know where I can find docs for these?
Thanks
Just in case anyone else is stuck hunting for these, they are in netsuite and can be found by going Setup -> Website -> Preview Website
You will see 2 links under the heading 'External Catalog Site Tools'.
'Links from your site back into NetSuite UK' will give you a list of checkout and cart related links.
'HTML and URLs for querying items' will give you a list of all the products you have set up. Click into one and you will see the different formats available for retrieving product information.
Hope this helps someone else
Log into your Netsuite account and click the help link. Or check the Developer resources on the netsuite homepage.
Related
I need help figuring out how to pass values from my checkout page to a thank you page, and configure a goal in Google Analytics that can accurately capture revenue for enhanced ecommerce tracking. Right now I'm only capturing Transactions, where the GA Goal is set to the thank you page loading.
I'm using Kajabi for everything (content management and order management system). They unfortunately don't have a true order confirmation page (like Shopify) where all of the details from the checkout page submission are summarized and Google Analytics can pull from.
My Checkout Page : https://www.advancerunning.com/offers/GBqJ4cPY/checkout
Thank You Page : https://www.advancerunning.com/thank_you/GBqJ4cPY
Two Asks (either is helpful)
How do I pass values from the checkout page to the thank you page?
How do I configure a goal in GA to capture this data for Enhanced Ecom Tracking?
Happy to provide additional context if needed!
I can't help you pass values to the purchase page but I can point you in the direction of a post I wrote to help capture a basic transaction in Universal Google Analytics. You will find it here.
I do hope it helps. If not, please get in touch and I will point you to the big guys in this game. They write very helpful posts.
I want to implement "punch out" integration in my website. I am working on a e commerce website and it required to implement "punch out" with help of punchout2go.com .
I searched over web, but can't get any proper solution. Any help or tutorial link will be highly appreciated.
Thanks in advance.
Documentation was sufficient to implement punchout2go integration. just simple XML was sent as data to API and in response an URL with token was retrieved. Then i need to access that URL and boom my punchout client page was opened , i can add items to cart and after clicking on proceed, i will come back with response which will have cart items and then i need to render that cart items on my website page, and it was done.
I apologies in advance that this is not a technical response.
If you are working with punchout2go, you should reach out to them and they will help get you sorted out. They have materials available and can get on collaborative working sessions to make sure you are getting what you need.
If you were not provided a contact, you can call them or use the chat or contact form off their website. Let them know who you are, what project you are on and that you are trying to track down a contact and need dev help getting going.
I have a website on which other websites owner can list their products. For listing the product they need to manually create the product by providing title, description, image and link of products.
When any user will visit my website he will be able to view these products and on click of any product he will be redirected to the owner's website and purchase will be done on his website.
Now I need to build a functionality by which I can track the complete transaction of the sale of that particular product, that particular product has been sold or not.
Whenever any site owner is coming on my site to list his product he needs to first register on my site.
After registration, I can provide him a chunk of a script that he needs to put on his site header.
Apart from this, I cannot modify his site. And I just need to track the particular product's transaction.
I have searched and found that Trivago and Skyscanner are using something like this.
I have tried to create some scripts in JS but couldn't track the desired things, as sometime user does not purchase my item and I did not know about this. In some sites, thank you page does not have enough information about the sale to capture.
If that can be possible just by adding few more things on Marchent's website please let me know.
To make sure that your Postback works on all platforms and providers, you must provide more than one way to your merchants to implement on their websites.
JS script ( you already done that )
Server to server implementation (S2S callback) - where you send the order id in the headers or get parameters, and the merchant must provide it back.
Example: you send your traffic as below format:
http://merchant_url.com/?tracking_id = 123123123
The merchant returns back when a purchase is made to your tracking url:
http://your_tracking_url/?merchant_id=1&tracking_id=123123123
This way you can identify your traffic
1px iframes, that load on their thank you page and they pass the click order_id parameters
Example: your merchant should place something like the below on their thank you page:
<iframe src="http://your_tracking_url_iframe/tracking_id=123123123"
style="height:1px;width:1px"/>
lastly, even 1px image elements are usually also used in such cases.
Example:
<img src="http://your_tracking_url_img/?tracking_id=123123123" style="height:1px;width:1px"/>
This way, even if merchant is using simple html/js on their thank you page they can always load your iframe with the specified parameters which will help you track a sale.
Hope this helped.
You can use cookies for an easy implementation.
Because the end client need to come from your website he should have your cookie with a userId and a productId before he goes to an other website.
On the thank you page of the other website there should be a call to your server (usually a 1px image). Server side you will have the same cookie and the website as referer.
Then you can say to the website how many clients bough after clicking on a product on your service. (Be sure to count sells only once per user!)
If the website want a cross validation they can provide you with the IDs of products bough when they call so you count only when the IDs match.
This is complicated, not because of the technology involved, but because of the variety of commerce solutions out there and the open-ended nature of human choice involved.
It sounds like you have secured two vital components to make this work: the ability to identify registered merchants and the ability to place a script on their webpage.
There is a third component you need, I think; either an agreed upon interface for that script (once a commercial transaction is completed or failed, hand the object with statuses back to your script through a specific triggered event) or full knowledge of the events for the merchant's website that you can code to.
Coding for the unknown will require a lot of time and effort as you would need to learn each merchant transaction solution and how to capture the transaction data. This will be... a long haul and I don't think it would be very successful.
If the merchant site is willing, they can trigger an event that your script will be listening for and pass along the transaction data to it, which would allow your script to pass along via AJAX to a waiting tracking page to record the results. This is simplest in terms of reaching an agreement and for the work involved, from your indicated starting point. jQuery is an excellent library for wiring this all up and there are other options.
Part of tracking would be passing along a token that ought to be carried through the transaction and passed back, generated by your site on the click to said merchant's website and passed on from there. Once you get your token back, you can compare it to a database of transaction tokens to find out which event had what result and fill in the appropriate fields from the resulting data.
I am facing an issue related to the yammer integration, want to share the articles to yammer.com from my web app and embed the comments of corresponding article to my web app.
I was able to publish & share the link to Yammer using JS SDK code as below,
yam.platform.yammerShareOpenPopup(options);
but it is not returning any feedId or threadId of the shared item.
/* Like to have this kind of API to get the FeedId and ThreadId of the post */
yam.platform.yammerShareOpenPopup(options).then((feedId,threadId)=>{
// lot of codes
});
How can I get the feed Id and thread Id after sharing the post, or Is there any REST API available to share and get the feedID/ThreadID?
I have searched many related Q&As and Yammer Docs, but bad luck I couldn't find any answers or APIs.
Please share your thoughts, any comments or links also be helpful.
Thank you.
When you post a message with the Yammer Share Button you don't get this information by design. It's connecting into what was originally the bookmarklet page for Yammer (/message/new). Only yam.platform.yammerShare() is the documented (read: supported) API.
If you want to post a message and get information back you need to make a direct call to the REST API. Try out posting messages from the Developer Center and you'll see something like the following:
You can see that you get back various pieces of metadata that you are looking for including Thread ID. The trade-off here is that the Share button is simple, but basic. With the REST API (using server-side code, or the JS SDK) you can have greater capabilities and control.
I want to create a web page that uses Google Drive Realtime API that allows users to anonymously edit several text fields. Because more than one user may be accessing the page simultaneously, I want to prevent someone's edit from being overwritten by another user without the first editor knowing that his edit is overwritten.
However, from the quick start, it seems that authorization using Google Account is needed for people to start editing. Is it possible to let arbritrary user edit my realtime model, without the need of logging in? Something similar to letting a Google Docs Spreadsheet be edited by the public.
Right now only psuedo-anonymous mode is available. You can make files available publicly, or to anyone with a link. However, the user will need to log in with a Google account in order to edit.
They appear as an anonymous user to the other users in the document. This is where isAnonymous is currently used.
I have confirmed that this is possible. Right click the document in Google Drive, and click Share... In the dialog that opens, click the drop down and select Anyone with the link can edit. Give the shareable link to whomever you need and they will be able to edit.
From a brief look at the documentation it may be available however I was unable to find anything allowing anonymous users (it seemed to require oAuth 2.0 with G+ to work). In regards to your second part, controlling users editing parts based on consent is going to get very quickly and I am unsure if you would be able to do it easily. If you want features as complex as these you may just have to implement your own realtime editing features (or try and leverage the google realtime api in some indirect way.