Magento: Tracking Script & Profile Merge
In this Article
The Tracking script
About the tracking script
Enabling the Tracking Script in your Magento integration will allow you to collect website data from your Magento store and feed it into APSIS One.
Enrich Profiles in APSIS One with website data such as page views, site searches, UTM tags, page referrals, Facebook ads referral, file downloads and product views. Learn more about the Tracking script and check out the full list og tracked events here.
Mention unknown profiles here
Profile merge: how is data placed on the right Profiles?
Once the script is installed on your website, Unknown Profiles are automatically created in APSIS One based on the cookie ID. (Ely_vID: Profile ID)
Visitors associated with your Magento account that are not synced with APSIS One are identified via their Cookie ID.
Magento Subscribers/Customers are synced with Unknown Profiles thanks to the Cookie ID, and (WHEN - what action) a Known Profile is created with both the Magento profile data and email address as an Email Attribute in APSIS One.
Both Known and Unknown Profiles are updated with their browsing behaviour in APSIS One.
Enable the Tracking script
Enabling the Tracking Script in the Magento integration will allow you to gather data from your Magento Store and feed it into Profiles.
1. In APSIS One, click on the User icon in the top right menu and select Settings.
2. Select the Section you want to work with.
2. Expand the Domains & Languages menu and select Tracking Script.
3. This is your tracking script. Click Copy tracking script to save the script.
4. To connect the tracking script to your own cookie banner click Run Tracking Script Independently and enter the Cookie name and value.
You may choose to add multiple conditions for when the tracking script can be run. To add more conditions, click on Add cookie. The script will be run if any one of the listed conditions apply.
More about cookies
More about cookies
Ely_vID: Profile ID.
ely_cc_answ: Cookie consent.
elytil: Whether the visitor is a first time visitor or not. Appears only once per Profile.
elytis: Whether it's a new browser session. Appears once per browser session.
cookie-banner-session, capture-bar-session-<hash>: Cookies that help monitor the status of Sign-up bar and Cookie banner activities.
apsis-cookie-banner-variable: Shows the correct status of the Cookie banner.
pcdc: The service structure for the Events being sent to Audience.
apsis-cookie-test: APSIS One generates one temporary cookie per page in order to check whether the tracking script is able to store cookies on the visitor's browser. The test cookie will be deleted immediately after.
5. In Magento, click on Stores, then select Configuration and find the APSIS One plugin.
6. In the plugin's last step, Configurations, paste the tracking script.
That's it! Now your tracking script is installed and you can begin collecting browsing data from your website's visitors.