How to add google tag manager on service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-08-2022 01:59 AM
How to add google tag manager on service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-08-2022 03:52 AM
Hello,
Please check the below thread:-
https://community.servicenow.com/community?id=community_question&sys_id=301c5c74db7efb001cd8a345ca961936
Please mark answer correct/helpful based on Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-08-2022 04:01 AM
Hi
You can do the following to add the GTM to a Portal:
1. Create a UI Script and add the function in script tag which is provided by google to this UI Scrip.
2. Include this UI Script to the Theme which your portal is using
3. Create the datalayer.push() events
GTM is successfully intergrated when you can watch the dataLayer Array in the Developer Console in your browser.
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-08-2022 04:32 AM
how to create datalayer.push() events
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-08-2022 04:41 AM
Hello,
You can follow the below article:-
It ahs step by step on how to do this:-
https://community.servicenow.com/community?id=community_article&sys_id=59934301dbb7eb801cd8a345ca9619f7
Please mark answer correct/helpful based on Impact.