Important Note
If you are using the Legacy version of the Advantage web stores, the below information will not apply! Please contact CenterEdge Support for additional information.
Advantage Web only officially supports Google Tag Manager (GTM) for analytics and conversion tracking, but our implementation for analytics scripts allows for any other third-party scripts to be added in addition to, or instead of, GTM. Many of our clients successfully add scripts for Google Analytics, Facebook Pixel, GTM, and others. Even custom scripts have been executed successfully.
Initial Setup
Before you add or configure a script in your Advantage Web store, you will need admin access to the store.
You will also need to create accounts with any third parties for which you would like to use analytics/tracking services, such as Google Tag Manager.
Adding a Script
- When you're ready to add your script, log in to your admin account and click the small gear icon at the top of the page.
- Click System Settings.
- Click Options.
- From the General section, click Analytics.
- You may have to click the down arrow to reveal more options depending on the size of your browser window.
- You may have to click the down arrow to reveal more options depending on the size of your browser window.
- To use this field for any purpose, select Google Tag Manager from the pull-down list.
- Paste the script or scripts into the Script field to add it/them to the body of your webstore's HTML, or into the Custom Header HTML field to add it to the head.
- All content must be valid HTML.
- All content must be valid HTML.
- Click Save.
Scripts sometimes need some configuration before they are added to the store. For this, please reference the documentation provided by the third party that is supplying the script.
Once the script has been saved, the steps needed on the Advantage web side are complete. You will then need to, if you haven't already, configure the scripts using any tools provided by the third party. CenterEdge can't assist with this part of the process, but we can provide some helpful information:
Analytics Specific Information
After-Checkout URL for Conversion Tracking
The URL a customer sees after checkout will always follow the same format:
https://{storeName}.centeredgeonline.com/cart/thankyoupage/{uniqueOrderId}
Where {storeName} will be replaced by your business name (check your URL to make sure you have this right), and {uniqueOrderId} is replaced by a 36-character unique identifier that should be ignored for most purposes.
Data Layer
Advantage Web implements the Standard Ecommerce data layer as documented here: https://support.google.com/tagmanager/answer/6107169?hl=en. The linked documentation will outline the variables and method used for placement and usage of the dataLayer.
The dataLayer is only added to the after-checkout page for completed transactions.
To enable the dataLayer for your site, you must have Google Tag Manager selected in the Analytics section as described above.
Comments
0 comments
Please sign in to leave a comment.
Related articles