Closed KJohnsn closed 4 months ago
Here is the tracking script:
@shirin27 Please add to refinement.
@shirin27 I spoke with Ryan and he has provided a link to provide more details regarding first party tracking > https://help.salesforce.com/s/articleView?id=sf.pardot_admin_first_party_cookie_parent.htm&type=5 We use first-party tracking. IF they are in MCAE and we have an email address and they have consented, we track the webpages they have visited. If we do not have an email address and they have not consented, then it's tracked as a visitor and the ip address is deleted after two weeks if not associated with an email address. We would like to add a MCAE script to the website to allow MCAE to track leads who have consented to marketing.
@KJohnsn @ryanropero we have included first party cookies in all of the tracking categories we have for OneTrust:
By default, if the user does not accept all cookies, except for the first category (strictly necessary cookies), all the others are rejected. If you want this script to be run in most cases, we should include it in the first category. For now, we decided we would include it in the strictly necessary cookies because you anyway erase the data if the user does not have an account, but please let us know if we should do otherwise so we can adjust it before finishing the implementation.
@ryanropero Will piAId
and piCId
be the same for all Volvo Trucks NA websites? Hereby I mean US/CA/MX.
No they will each have their own. Would you like me to add those ids here?
Ryan Ropero Senior Business Analyst – Salesforce/Account Engagement Volvo Group Digital & IT Volvo Group Digitla & IT | Commercial Solutions NA T. 904 495 3717 7900 National Service Rd | Greensboro, NC, 27409 | USA @.**@.> @.***
From: Syb @.> Sent: Thursday, February 15, 2024 12:41 PM To: hlxsites/vg-volvotrucks-us @.> Cc: Ropero Ryan @.>; Mention @.> Subject: Re: [hlxsites/vg-volvotrucks-us] Volvo - Add Account Engagement Tracking Code to Volvo Website (Issue #535)
You don't often get email from @.**@.>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
Caution: This email originated outside of your organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. If suspicious, please report it using the "Report Phishing" functionality in your mail client.
@ryanroperohttps://github.com/ryanropero Will piAId and piCId be the same for all Volvo Trucks NA websites? Hereby I mean US/CA/MX.
— Reply to this email directly, view it on GitHubhttps://github.com/hlxsites/vg-volvotrucks-us/issues/535#issuecomment-1946724159, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBWJOGRL7WNLT4UWLIE5QIDYTZCBFAVCNFSM6AAAAABDKOTJPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBWG4ZDIMJVHE. You are receiving this because you were mentioned.Message ID: @.**@.>>
This email message (including its attachments) is confidential and may contain privileged information and is intended solely for the use of the individual and/or entity to whom it is addressed. If you are not the intended recipient of this e-mail you may not disseminate, distribute or copy this e-mail (including its attachments), or any part thereof. If this e-mail is received in error, please notify the sender immediately by return e-mail and make sure that this e-mail (including its attachments), and all copies thereof, are immediately deleted from your system. Please further note that when you communicate with us via email or visit our website we process your personal data. See our privacy policy for more information about how we process it: https://www.volvogroup.com/en-en/privacy.html
@ryanropero yes, please share the IDs
Validated on volvotrucks.us and no script displayed :
Description The AE tracking code will enable us to be able to track the user engagement in the site and to be able to review these engagements in MCAE (Marketing Cloud Account Engagement). The code will need to be provided from the MCAE team and the development team would need to place it before the body close tag on every page. If the tracking code can be embedded in the backend, then it would be dynamically added to all pages.
Use case: User Engagement in Volvo Truck websites As a marketer, I would like to see the user engagement for each page Then I can review which pieces of content resonates and which ones don't And then I can craft campaigns which pick up on user engagement patterns
Acceptance Criteria
<script type="text/javascript"> piAId = '1039333'; piCId = '25825'; piHostname = '[pi.pardot.com](https://pi.pardot.com/)'; (function() { function async_load(){ var s = document.createElement('script'); s.type = 'text/javascript'; s.src = ('https:' == document.location.protocol ? 'https://pi/' : 'http://cdn/') + '.[pardot.com/pd.js](https://pardot.com/pd.js)'; var c = document.getElementsByTagName('script')[0]; c.parentNode.insertBefore(s, c); } if(window.attachEvent) { window.attachEvent('onload', async_load); } else { window.addEventListener('load', async_load, false); } })(); </script>
Add to Volvo