A single line of JavaScript will enable Ping and Ping-Pong. Ping captures basic web page view data under a traditional page view model. If you site uses a Single Page framework, additional coding maybe required to to mimic page views.
Ping captures these key pieces of information:
URL, and automatically breaks UTM parameters
utm_source
utm_medium
utm_campaign
utm_content
utm_term
Referrer: previous page viewed
Browser's User Agent
IP address
Date and time
Duration of the page view
Go to: Database > Configurations: Configuration Keys > Branding, Privacy, & Ping > Embed Ping on Slate Pages
Set: Embed Ping on Slate Pages: Enabled
Click: Save
Go to: Database > Branding: Ping
Copy: The script tag snippet code. It should be something like this:
<script async="async" src="https://admissions.school.edu/ping">/**/</script>
Alternately, ask your IT team to add the script tag on every page of your website(s).
From the GTM Homescreen
Click: Tags > "New" button
Change: "Untitled Tag" --> "Slate Ping"
Change: Folder --> Slate
Click: Tag Configuration > Custom HTML
Paste: Script tag you copied from Slate into HTML
Select: Advanced Settings > Tag firing options > Once per page
Select: Triggering > All Pages - DOM Ready.
If the "All Pages - DOM Ready" or similar trigger doesn't exist, click the "+" button to create a new trigger:
Change: "Untitled Trigger" --> "All Pages - DOM Ready"
Click: Trigger Configuration > Page View: DOM Ready
Click: Save
Save
QA and publish the changes