Tracking custom events with Google Tag Manager

You can use Google Tag Manager to track custom events you set up in your Smartlook account.

To track Smartlook custom events with Google Tag Manager (GTM), you must:

Tracking custom events with Google Tag Manager

In the following example, we are creating a tag in GTM for a custom event set up for the right arrow button on the testimonial page.

To track custom events with Google Tag Manager:

  1. In GTM, Add a new tag.
Add new tag
  1. Choose Custom HTML tag.
  2. Define the tag as needed. Be sure the HTML contains the Smartlook custom events script.
    <script>
      smartlook('track', 'HP_Testimonial_Arrow_Right_Click');
    </script>
    
  3. Click Triggering to define a trigger.
  4. Click the + to add a trigger.
  5. Under Click, select All Elements.
  1. In Trigger Configuration, choose Some clicks.
  2. Select Page URL, Contains, and the page URL where you have the custom event.
  1. Click Save to save the new tag.
  2. Click Preview to go into GTM Preview Mode.
  1. While in Preview Mode, go to your website in another tab. You should see the debug tab.
  2. The Summary panel lists all actions that GTM listens for on your website. If the tag is set up correctly, Click appears in the Summary panel. If you click the event, you can see the tag that was fired.
  1. Click the Data Layer tab to get element data for the trigger.
  1. Go back to the workspace in GTM and click the Variables tab.
  2. Click Configure.
  1. In the Configure Built-In Variables panel, check the Click Classes checkbox.
  2. Click the Triggers tab.
  3. Open the trigger for the custom event for editing.
  4. Select Click Classes, Contains, and enter the element class customer-review__action--next that we found earlier in Preview Mode.
  1. Click Save.
  2. Refresh your workspace. You can now open your project in Preview Mode again to check if the custom event is set up correctly.

\n ```\n4. Click **Triggering** to define a trigger.\n5. Click the `+` to add a trigger.\n6. Under **Click**, select **All Elements**. \n\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/2a158d3-AllClicksTrigger.png\",\n null,\n \"\"\n ],\n \"align\": \"center\",\n \"sizing\": \"40% \"\n }\n ]\n}\n[/block]\n\n6. In _Trigger Configuration_, choose **Some clicks**.\n7. Select **Page URL**, **Contains**, and the page URL where you have the custom event. \n\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/375ac40-TriggerConfiguration.png\",\n null,\n \"\"\n ],\n \"align\": \"center\",\n \"sizing\": \"70% \"\n }\n ]\n}\n[/block]\n\n8. Click **Save** to save the new tag.\n9. Click **Preview** to go into GTM Preview Mode. \n\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/a066b48-PreviewMode.png\",\n null,\n \"\"\n ],\n \"align\": \"center\",\n \"sizing\": \"50% \"\n }\n ]\n}\n[/block]\n\n10. While in Preview Mode, go to your website in another tab. You should see the debug tab. \n ![](https://files.readme.io/2908d05-smartlook-gtm-debug-tab.png)\n11. The _Summary_ panel lists all actions that GTM listens for on your website. If the tag is set up correctly, **Click** appears in the Summary panel. If you click the event, you can see the tag that was fired.\n\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/98f11e1-smartlook-click-fired.png\",\n null,\n \"\"\n ],\n \"align\": \"center\",\n \"sizing\": \"60% \"\n }\n ]\n}\n[/block]\n\n12. Click the **Data Layer** tab to get element data for the trigger. \n\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/c4c390e-smartlook-gtm-click-element-classes-data-layer.png\",\n null,\n \"\"\n ],\n \"align\": \"center\",\n \"sizing\": \"70% \"\n }\n ]\n}\n[/block]\n\n13. Go back to the workspace in GTM and click the **Variables** tab.\n14. Click **Configure**.\n\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/c161127-smartlook-gtm-configuring-the-variable.png\",\n null,\n \"\"\n ],\n \"align\": \"center\",\n \"sizing\": \"80% \"\n }\n ]\n}\n[/block]\n\n15. In the **Configure Built-In Variables** panel, check the **Click Classes** checkbox.\n16. Click the **Triggers** tab.\n17. Open the trigger for the custom event for editing.\n18. Select **Click Classes**, **Contains**, and enter the element class **customer-review\\_\\_action--next** that we found earlier in Preview Mode. \n\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/1ee5300-smartlook-final-trigger.png\",\n null,\n \"\"\n ],\n \"align\": \"center\",\n \"sizing\": \"80% \"\n }\n ]\n}\n[/block]\n\n19. Click **Save**.\n20. Refresh your workspace. You can now open your project in Preview Mode again to check if the custom event is set up correctly.","dehydrated":{"toc":"","body":"

You can use Google Tag Manager to track custom events you set up in your Smartlook account.

\n

To track Smartlook custom events with Google Tag Manager (GTM), you must:

\n\n

Tracking custom events with Google Tag Manager

\n

In the following example, we are creating a tag in GTM for a custom event set up for the right arrow button on the testimonial page.

\n\"\"\n

To track custom events with Google Tag Manager:

\n
    \n
  1. In GTM, Add a new tag.
  2. \n
\n\"Add\n
    \n
  1. Choose Custom HTML tag.
  2. \n
  3. Define the tag as needed. Be sure the HTML contains the Smartlook custom events script. \n
    <script>\n  smartlook('track', 'HP_Testimonial_Arrow_Right_Click');\n</script>\n
    \n
  4. \n
  5. Click Triggering to define a trigger.
  6. \n
  7. Click the + to add a trigger.
  8. \n
  9. Under Click, select All Elements.
  10. \n
\n\"\"\n
    \n
  1. In Trigger Configuration, choose Some clicks.
  2. \n
  3. Select Page URL, Contains, and the page URL where you have the custom event.
  4. \n
\n\"\"\n
    \n
  1. Click Save to save the new tag.
  2. \n
  3. Click Preview to go into GTM Preview Mode.
  4. \n
\n\"\"\n
    \n
  1. While in Preview Mode, go to your website in another tab. You should see the debug tab.
    \n\"\"
  2. \n
  3. The Summary panel lists all actions that GTM listens for on your website. If the tag is set up correctly, Click appears in the Summary panel. If you click the event, you can see the tag that was fired.
  4. \n
\n\"\"\n
    \n
  1. Click the Data Layer tab to get element data for the trigger.
  2. \n
\n\"\"\n
    \n
  1. Go back to the workspace in GTM and click the Variables tab.
  2. \n
  3. Click Configure.
  4. \n
\n\"\"\n
    \n
  1. In the Configure Built-In Variables panel, check the Click Classes checkbox.
  2. \n
  3. Click the Triggers tab.
  4. \n
  5. Open the trigger for the custom event for editing.
  6. \n
  7. Select Click Classes, Contains, and enter the element class customer-review__action--next that we found earlier in Preview Mode.
  8. \n
\n\"\"\n
    \n
  1. Click Save.
  2. \n
  3. Refresh your workspace. You can now open your project in Preview Mode again to check if the custom event is set up correctly.
  4. \n
"},"mdx":false,"opts":{"alwaysThrow":false,"compatibilityMode":false,"copyButtons":true,"correctnewlines":false,"markdownOptions":{"fences":true,"commonmark":true,"gfm":true,"ruleSpaces":false,"listItemIndent":"1","spacedTable":true,"paddedTable":true},"normalize":true,"lazyImages":true,"reusableContent":{"tags":{}},"safeMode":false,"settings":{"position":true},"theme":"light","customBlocks":{},"resourceID":"646cb955f27d64028478529b","resourceType":"page","baseUrl":"/","terms":[],"variables":{"user":{},"defaults":[{"source":"security","_id":"63d7ed7ebf7b4b0e07469576","name":"bearerAuth","type":"http","scheme":"bearer","apiSetting":"627917cade662300673a815d"}]}},"terms":[],"variables":{"user":{},"defaults":[{"source":"security","_id":"63d7ed7ebf7b4b0e07469576","name":"bearerAuth","type":"http","scheme":"bearer","apiSetting":"627917cade662300673a815d"}]}},"doc":{"metadata":{"image":[],"title":"","description":"","keywords":"","robots":"index"},"mdx":{"altBody":"","status":"rdmd"},"api":{"method":"get","url":"","auth":"required","params":[]},"next":{"description":"","pages":[]},"algolia":{"translationFailure":false,"recordCount":2,"publishPending":false,"updatedAt":"2023-05-25T05:12:57.214Z"},"reusableContent":[],"_id":"646cb955f27d64028478529b","title":"Tracking custom events with Google Tag Manager","icon":"","updates":[],"type":"basic","slug":"tracking-custom-events-with-google-tag-manager","excerpt":"","body":"You can use [Google Tag Manager](https://help.smartlook.com/docs/implementing-using-google-tag-manager) to track [custom events](https://help.smartlook.com/docs/custom-events) you set up in your Smartlook account.\n\nTo track Smartlook custom events with Google Tag Manager (GTM), you must:\n\n- [implement Smartlook in your project](https://help.smartlook.com/docs/installing-your-project-code)\n- [Implement the Identify API in your project](https://help.smartlook.com/docs/custom-events#implementing-the-api)\n- deploy a Google Tag Manager container in your project\n\n## Tracking custom events with Google Tag Manager\n\nIn the following example, we are creating a tag in GTM for a custom event set up for the right arrow button on the testimonial page. \n\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/7213e9b-smartlook-testimonial-section.png\",\n null,\n \"\"\n ],\n \"align\": \"center\",\n \"sizing\": \"60% \"\n }\n ]\n}\n[/block]\n\nTo track custom events with Google Tag Manager:\n\n1. In GTM, **Add a new tag**. \n\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/ab239d5-AddNewTag.png\",\n null,\n \"Add new tag\"\n ],\n \"align\": \"center\",\n \"sizing\": \"30% \"\n }\n ]\n}\n[/block]\n\n2. Choose **Custom HTML tag**.\n3. Define the tag as needed. Be sure the HTML contains the [Smartlook custom events script](https://web.developer.smartlook.com/docs/custom-events). \n ```\n \n ```\n4. Click **Triggering** to define a trigger.\n5. Click the `+` to add a trigger.\n6. Under **Click**, select **All Elements**. \n\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/2a158d3-AllClicksTrigger.png\",\n null,\n \"\"\n ],\n \"align\": \"center\",\n \"sizing\": \"40% \"\n }\n ]\n}\n[/block]\n\n6. In _Trigger Configuration_, choose **Some clicks**.\n7. Select **Page URL**, **Contains**, and the page URL where you have the custom event. \n\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/375ac40-TriggerConfiguration.png\",\n null,\n \"\"\n ],\n \"align\": \"center\",\n \"sizing\": \"70% \"\n }\n ]\n}\n[/block]\n\n8. Click **Save** to save the new tag.\n9. Click **Preview** to go into GTM Preview Mode. \n\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/a066b48-PreviewMode.png\",\n null,\n \"\"\n ],\n \"align\": \"center\",\n \"sizing\": \"50% \"\n }\n ]\n}\n[/block]\n\n10. While in Preview Mode, go to your website in another tab. You should see the debug tab. \n ![](https://files.readme.io/2908d05-smartlook-gtm-debug-tab.png)\n11. The _Summary_ panel lists all actions that GTM listens for on your website. If the tag is set up correctly, **Click** appears in the Summary panel. If you click the event, you can see the tag that was fired.\n\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/98f11e1-smartlook-click-fired.png\",\n null,\n \"\"\n ],\n \"align\": \"center\",\n \"sizing\": \"60% \"\n }\n ]\n}\n[/block]\n\n12. Click the **Data Layer** tab to get element data for the trigger. \n\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/c4c390e-smartlook-gtm-click-element-classes-data-layer.png\",\n null,\n \"\"\n ],\n \"align\": \"center\",\n \"sizing\": \"70% \"\n }\n ]\n}\n[/block]\n\n13. Go back to the workspace in GTM and click the **Variables** tab.\n14. Click **Configure**.\n\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/c161127-smartlook-gtm-configuring-the-variable.png\",\n null,\n \"\"\n ],\n \"align\": \"center\",\n \"sizing\": \"80% \"\n }\n ]\n}\n[/block]\n\n15. In the **Configure Built-In Variables** panel, check the **Click Classes** checkbox.\n16. Click the **Triggers** tab.\n17. Open the trigger for the custom event for editing.\n18. Select **Click Classes**, **Contains**, and enter the element class **customer-review\\_\\_action--next** that we found earlier in Preview Mode. \n\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/1ee5300-smartlook-final-trigger.png\",\n null,\n \"\"\n ],\n \"align\": \"center\",\n \"sizing\": \"80% \"\n }\n ]\n}\n[/block]\n\n19. Click **Save**.\n20. Refresh your workspace. You can now open your project in Preview Mode again to check if the custom event is set up correctly.","order":5,"isReference":false,"deprecated":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"previousSlug":"","slugUpdatedAt":"2023-05-22T21:23:23.486Z","revision":23,"user":"65420013d1b09515848c0307","project":"5e67afc4ec33c6001126c1d7","parentDoc":"63e4e57f6a5ad708709b75c3","category":{"_id":"63ca99f7c8dea9007aeae820","title":"Smartlook app menu","slug":"smartlook-features","order":2,"reference":false,"project":"5e67afc4ec33c6001126c1d7","version":"5e67afc4ec33c6001126c1dc","createdAt":"2023-01-20T13:41:11.341Z","__v":0,"type":"guide","id":"63ca99f7c8dea9007aeae820"},"createdAt":"2023-05-23T13:02:13.862Z","updatedAt":"2023-05-25T05:12:57.020Z","version":{"pdfStatus":"","source":"readme","_id":"5e67afc4ec33c6001126c1dc","version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5e67afc5ec33c6001126c1de","62629f89e3f14d003eeeded3","6262a43a9be6b500478fa21f","6262ab0de85e550014f91a56","6262ab4346fa2e0066e53914","6262b92df3b1dc00363cbf79","6262be2c5736660049c44afd","6262c84c2d30db0647b5213f","6262c852fb4788001382f10e","6262cea562640706a4efde67","626bf909fedeed012d26450b","626bfa46f18820012245b12f","627915cffc6be30027427e12","627917cade662300673a815e","62c335691dfdd80028d92091","6376bf2f127d99000317001b","63778fdb7607ec0331da557c","63b6dbc70447e80042439e03","63ca99f7c8dea9007aeae820","63ca9acafd25040084e3bf4f","6401ec58d064ee000a8362f9","640883b1e6ec23004b9c2d84","641c5ee5df5c820058b19f4d"],"project":"5e67afc4ec33c6001126c1d7","releaseDate":"2020-03-10T15:18:28.983Z","createdAt":"2020-03-10T15:18:28.983Z","__v":1,"apiRegistries":[]},"__v":0,"isApi":false,"tutorials":[],"id":"646cb955f27d64028478529b"},"hideTOC":false,"meta":{"_id":"646cb955f27d64028478529b","description":"You can use Google Tag Manager to track custom events you set up in your Smartlook account. To track Smartlook custom events with Google Tag Manager (GTM), you must: implement Smartlook in your project Implement the Identify API in your project deploy a Google Tag Manager container in your project T...","hidden":false,"image":[],"keywords":"","metaTitle":"Tracking custom events with Google Tag Manager","parent":"63e4e57f6a5ad708709b75c3","robots":"index","slug":"tracking-custom-events-with-google-tag-manager","title":"Tracking custom events with Google Tag Manager","type":"docs"},"slugUrl":"/docs/tracking-custom-events-with-google-tag-manager","config":{"algoliaIndex":"readme_search_v2","amplitude":{"apiKey":"dc8065a65ef83d6ad23e37aaf014fc84","enabled":true},"asset_url":"https://cdn.readme.io","domain":"readme.io","domainFull":"https://dash.readme.com","encryptedLocalStorageKey":"ekfls-2025-03-27","fullstory":{"enabled":true,"orgId":"FSV9A"},"liveblocks":{"copilotId":"co_11Q0l0JJlkcBhhAYUFh8s"},"metrics":{"billingCronEnabled":"true","dashUrl":"https://m.readme.io","defaultUrl":"https://m.readme.io","exportMaxRetries":12,"wsUrl":"wss://m.readme.io"},"proxyUrl":"https://try.readme.io","readmeRecaptchaSiteKey":"6LesVBYpAAAAAESOCHOyo2kF9SZXPVb54Nwf3i2x","releaseVersion":"5.422.0","sentry":{"dsn":"https://3bbe57a973254129bcb93e47dc0cc46f@o343074.ingest.sentry.io/2052166","enabled":true},"shMigration":{"promoVideo":"","forceWaitlist":false,"migrationPreview":false},"sslBaseDomain":"readmessl.com","sslGenerationService":"ssl.readmessl.com","stripePk":"pk_live_5103PML2qXbDukVh7GDAkQoR4NSuLqy8idd5xtdm9407XdPR6o3bo663C1ruEGhXJjpnb2YCpj8EU1UvQYanuCjtr00t1DRCf2a","superHub":{"newProjectsEnabled":true},"wootric":{"accountToken":"NPS-122b75a4","enabled":true}},"context":{"labs":{},"user":{},"terms":[],"variables":{"user":{},"defaults":[{"source":"security","_id":"63d7ed7ebf7b4b0e07469576","name":"bearerAuth","type":"http","scheme":"bearer","apiSetting":"627917cade662300673a815d"}]},"project":{"_id":"5e67afc4ec33c6001126c1d7","appearance":{"main_body":{"type":"links"},"colors":{"highlight":"","main":"#023189","main_alt":"#0452e7","header_text":"","body_highlight":"#023189","custom_login_link_color":""},"typography":{"headline":"Open+Sans:400:sans-serif","body":"Open+Sans:400:sans-serif","typekit":false,"tk_key":"","tk_headline":"","tk_body":""},"header":{"style":"custom","img":["https://files.readme.io/e548b52-Group_507b.png","Group 507b.png",1920,350,"#000000"],"img_size":"cover","img_pos":"cc","linkStyle":"buttons"},"body":{"style":"none"},"global_landing_page":{"html":"","redirect":""},"referenceLayout":"row","link_logo_to_url":false,"theme":"solid","overlay":"triangles","landing":true,"sticky":false,"hide_logo":false,"childrenAsPills":false,"splitReferenceDocs":false,"logo":["https://files.readme.io/0a57379-small-logo.png","logo.png",495,80,"#024b98","https://files.readme.io/8b2fe65-logo.png"],"logo_white":["https://files.readme.io/64a3719-small-3QvLQWfN.png","64a3719-small-3QvLQWfN.png",231,80,"#ffffff","https://files.readme.io/c317004-3QvLQWfN.png","64a2ffced754150ad7be7330"],"logo_white_use":true,"favicon":["https://files.readme.io/ddd8e3e-small-loop-circle-border.png","loop-circle-border.png",32,32,"#cfedf4","https://files.readme.io/3232d65-loop-circle-border.png"],"stylesheet":"","stylesheet_hub2":"","javascript":"","javascript_hub2":"","html_promo":"","html_body":"","html_footer":"","html_head":"","html_footer_meta":"","html_hidelinks":false,"showVersion":false,"hideTableOfContents":false,"nextStepsLabel":"","promos":[{"extras":{"type":"buttons","buttonPrimary":"get-started","buttonSecondary":""},"title":"Smartlook Developer Hub","text":"Smartlook is the missing puzzle piece in analyzing user behavior. Get real qualitative insights that help you improve your mobile app and website.","_id":"5e67afc4ec33c6001126c1d8"}],"subheaderStyle":"links","showMetricsInReference":true,"rdmd":{"callouts":{"useIconFont":false},"theme":{"background":"","border":"","markdownEdge":"","markdownFont":"","markdownFontSize":"","markdownLineHeight":"","markdownRadius":"","markdownText":"","markdownTitle":"","markdownTitleFont":"","mdCodeBackground":"","mdCodeFont":"","mdCodeRadius":"","mdCodeTabs":"","mdCodeText":"","tableEdges":"","tableHead":"","tableHeadText":"","tableRow":"","tableStripe":"","tableText":"","text":"","title":""}},"referenceSimpleMode":true,"stylesheet_hub3":"","loginLogo":[],"logo_large":true,"colorScheme":"system","changelog":{"layoutExpanded":false,"showAuthor":true,"showExactDate":false},"allowApiExplorerJsonEditor":false,"layout":{"full_width":false,"style":"classic"},"showPageIcons":true,"ai_dropdown":"disabled","ai_options":{"chatgpt":"enabled","claude":"enabled","clipboard":"enabled","copilot":"enabled","view_as_markdown":"enabled"}},"custom_domain":"help.smartlook.com","childrenProjects":[],"derivedPlan":"startup2018","description":"Smartlook's developer documentation. Smartlook is the missing puzzle piece in analyzing user behavior. Get real qualitative insights that help you improve your mobile app and website.","isExternalSnippetActive":false,"error404":"","experiments":[],"first_page":"docs","flags":{"allow_hub2":false,"enterprise":false,"alwaysShowDocPublishStatus":false,"hub2":true,"migrationRun":false,"migrationSwaggerRun":false,"oauth":false,"swagger":false,"correctnewlines":false,"speedyRender":false,"allowXFrame":false,"cookieAuthentication":false,"hideGoogleAnalytics":false,"newEditor":true,"newMarkdown":false,"newApiExplorer":true,"disableAnonForum":false,"directGoogleToStableVersion":false,"translation":false,"newSearch":true,"tutorials":true,"useReactApp":true,"allowApiExplorerJsonEditor":false,"dashReact":false,"graphql":false,"metricsV2":true,"newMarkdownBetaProgram":true,"oldMarkdown":false,"rdmdCompatibilityMode":false,"singleProjectEnterprise":false,"staging":false,"enableRealtimeExperiences":false,"newEditorDash":true,"reviewWorkflow":true,"star":false,"allowDarkMode":false,"forceDarkMode":false,"useReactGLP":false,"disablePasswordlessLogin":false,"personalizedDocs":false,"myDevelopers":false,"superHub":false,"developerDashboard":false,"allowReusableOTPs":false,"dashHomeRefresh":false,"owlbotAi":false,"apiV2":false,"git":{"read":false,"write":false},"superHubBeta":false,"dashQuickstart":false,"disableAutoTranslate":false,"customBlocks":false,"devDashHub":false,"disableSAMLScoping":false,"allowUnsafeCustomHtmlSuggestionsFromNonAdmins":false,"apiAccessRevoked":false,"passwordlessLogin":"default","disableSignups":false,"billingRedesignEnabled":true,"developerPortal":false,"mdx":false,"superHubDevelopment":false,"annualBillingEnabled":true,"devDashBillingRedesignEnabled":false,"enableOidc":false,"customComponents":false,"disableDiscussionSpamRecaptchaBypass":false,"developerViewUsersData":false,"changelogRssAlwaysPublic":false,"bidiSync":false,"superHubMigrationSelfServeFlow":true,"apiDesigner":false,"hideEnforceSSO":false,"localLLM":false,"superHubManageVersions":false,"gitSidebar":false,"superHubGlobalCustomBlocks":false,"childManagedBidi":false,"externalSdkSnippets":false,"migrationPreview":false,"requiresJQuery":false,"superHubBranchReviews":false,"superHubPreview":false},"fullBaseUrl":"https://help.smartlook.com/","git":{"migration":{"createRepository":{},"transformation":{},"migratingPages":{},"enableSuperhub":{}},"sync":{"linked_repository":{},"installationRequest":{},"connections":[],"providers":[]}},"glossaryTerms":[],"graphqlSchema":"","gracePeriod":{"enabled":false,"endsAt":null},"shouldGateDash":false,"healthCheck":{"provider":"","settings":{}},"intercom_secure_emailonly":false,"intercom":"","is_active":true,"integrations":{"login":{}},"internal":"","jwtExpirationTime":0,"landing_bottom":[{"type":"docs","alignment":"left","pageType":"Documentation"}],"mdxMigrationStatus":"rdmd","metrics":{"monthlyLimit":0,"thumbsEnabled":true,"planLimit":5000000,"realtime":{"dashEnabled":false,"hubEnabled":false},"monthlyPurchaseLimit":0,"meteredBilling":{}},"modules":{"landing":false,"docs":true,"examples":false,"reference":false,"changelog":false,"discuss":false,"suggested_edits":true,"logs":false,"custompages":false,"tutorials":false,"graphql":false},"name":"Smartlook Help Center","nav_names":{"docs":"","reference":"Reference","changelog":"","discuss":"","tutorials":"","recipes":""},"oauth_url":"","onboardingCompleted":{"api":true,"appearance":true,"documentation":true,"domain":false,"jwt":false,"logs":false,"metricsSDK":false},"owlbot":{"enabled":false,"isPaying":false,"customization":{"answerLength":"long","customTone":"","defaultAnswer":"","forbiddenWords":"","tone":"neutral"},"copilot":{"enabled":false,"hasBeenUsed":false,"installedCustomPage":""}},"owner":{"id":null,"email":null,"name":null},"plan":"startup2018","planOverride":"startup2018","planSchedule":{"stripeScheduleId":null,"changeDate":null,"nextPlan":null},"planStatus":"active","planTrial":"startup2018","readmeScore":{"components":{"newDesign":{"enabled":true,"points":25},"reference":{"enabled":false,"points":50},"tryItNow":{"enabled":true,"points":35},"syncingOAS":{"enabled":true,"points":10},"customLogin":{"enabled":true,"points":25},"metrics":{"enabled":false,"points":40},"recipes":{"enabled":false,"points":15},"pageVoting":{"enabled":true,"points":1},"suggestedEdits":{"enabled":false,"points":10},"support":{"enabled":false,"points":5},"htmlLanding":{"enabled":false,"points":5},"guides":{"enabled":true,"points":10},"changelog":{"enabled":false,"points":5},"glossary":{"enabled":false,"points":1},"variables":{"enabled":true,"points":1},"integrations":{"enabled":false,"points":2}},"totalScore":107},"reCaptchaSiteKey":"","reference":{"alwaysUseDefaults":true,"defaultExpandResponseExample":false,"defaultExpandResponseSchema":false,"enableOAuthFlows":false},"seo":{"overwrite_title_tag":false},"stable":{"_id":"5e67afc4ec33c6001126c1dc","version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5e67afc5ec33c6001126c1de","62629f89e3f14d003eeeded3","6262a43a9be6b500478fa21f","6262ab0de85e550014f91a56","6262ab4346fa2e0066e53914","6262b92df3b1dc00363cbf79","6262be2c5736660049c44afd","6262c84c2d30db0647b5213f","6262c852fb4788001382f10e","6262cea562640706a4efde67","626bf909fedeed012d26450b","626bfa46f18820012245b12f","627915cffc6be30027427e12","627917cade662300673a815e","62c335691dfdd80028d92091","6376bf2f127d99000317001b","63778fdb7607ec0331da557c","63b6dbc70447e80042439e03","63ca99f7c8dea9007aeae820","63ca9acafd25040084e3bf4f","6401ec58d064ee000a8362f9","640883b1e6ec23004b9c2d84","641c5ee5df5c820058b19f4d"],"project":"5e67afc4ec33c6001126c1d7","releaseDate":"2020-03-10T15:18:28.983Z","createdAt":"2020-03-10T15:18:28.983Z","__v":1},"subdomain":"smartlook","subpath":"","superHubWaitlist":false,"topnav":{"left":[{"type":"url","text":"Web SDK","url":"https://web.developer.smartlook.com/docs"},{"type":"url","text":"Mobile SDK","url":"https://mobile.developer.smartlook.com/reference/gettingstartedmobile"},{"type":"url","text":"Rest API","url":"https://integrations.smartlook.com/docs/api-overview"},{"type":"url","text":"Integrations","url":"https://integrations.smartlook.com/docs"}],"right":[{"type":"url","text":"Status","url":"https://smartlook.statuspage.io/"}],"edited":true,"bottom":[]},"trial":{"trialDeadlineEnabled":true,"trialEndsAt":"2020-03-24T15:18:28.938Z"},"translate":{"provider":"transifex","show_widget":false,"key_public":"","org_name":"","project_name":"","languages":[]},"url":"https://www.smartlook.com","versions":[{"_id":"5e67afc4ec33c6001126c1dc","version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5e67afc5ec33c6001126c1de","62629f89e3f14d003eeeded3","6262a43a9be6b500478fa21f","6262ab0de85e550014f91a56","6262ab4346fa2e0066e53914","6262b92df3b1dc00363cbf79","6262be2c5736660049c44afd","6262c84c2d30db0647b5213f","6262c852fb4788001382f10e","6262cea562640706a4efde67","626bf909fedeed012d26450b","626bfa46f18820012245b12f","627915cffc6be30027427e12","627917cade662300673a815e","62c335691dfdd80028d92091","6376bf2f127d99000317001b","63778fdb7607ec0331da557c","63b6dbc70447e80042439e03","63ca99f7c8dea9007aeae820","63ca9acafd25040084e3bf4f","6401ec58d064ee000a8362f9","640883b1e6ec23004b9c2d84","641c5ee5df5c820058b19f4d"],"project":"5e67afc4ec33c6001126c1d7","releaseDate":"2020-03-10T15:18:28.983Z","createdAt":"2020-03-10T15:18:28.983Z","__v":1}],"variableDefaults":[{"source":"security","_id":"63d7ed7ebf7b4b0e07469576","name":"bearerAuth","type":"http","scheme":"bearer","apiSetting":"627917cade662300673a815d"}],"webhookEnabled":false,"isHubEditable":true},"projectStore":{"data":{"allow_crawlers":"disabled","canonical_url":null,"default_version":{"name":"1.0"},"description":"Smartlook's developer documentation. Smartlook is the missing puzzle piece in analyzing user behavior. Get real qualitative insights that help you improve your mobile app and website.","glossary":[],"homepage_url":"https://www.smartlook.com","id":"5e67afc4ec33c6001126c1d7","name":"Smartlook Help Center","parent":null,"redirects":[],"sitemap":"disabled","llms_txt":"disabled","subdomain":"smartlook","suggested_edits":"enabled","uri":"/projects/me","variable_defaults":[{"name":"bearerAuth","scheme":"bearer","source":"security","type":"http","id":"63d7ed7ebf7b4b0e07469576"}],"webhooks":[],"api_designer":{"allow_editing":"enabled"},"custom_login":{"login_url":null,"logout_url":null},"features":{"mdx":"disabled"},"mcp":{},"onboarding_completed":{"api":true,"appearance":true,"documentation":true,"domain":false,"jwt":false,"logs":false,"metricsSDK":false},"pages":{"not_found":null},"privacy":{"openapi":"admin","password":null,"view":"public"},"refactored":{"status":"disabled","migrated":"unknown"},"seo":{"overwrite_title_tag":"disabled"},"plan":{"type":"startup2018","grace_period":{"enabled":false,"end_date":null},"trial":{"expired":false,"end_date":"2020-03-24T15:18:28.938Z"}},"reference":{"api_sdk_snippets":"enabled","defaults":"always_use","json_editor":"disabled","oauth_flows":"disabled","request_history":"enabled","response_examples":"collapsed","response_schemas":"collapsed","sdk_snippets":{"external":"disabled"}},"health_check":{"provider":"none","settings":{"manual":{"status":"down","url":null},"statuspage":{"id":null}}},"integrations":{"aws":{"readme_webhook_login":{"region":null,"external_id":null,"role_arn":null,"usage_plan_id":null}},"bing":{"verify":null},"google":{"analytics":null,"site_verification":null},"heap":{"id":null},"koala":{"key":null},"localize":{"key":null},"postman":{"key":null,"client_id":null,"client_secret":null},"recaptcha":{"site_key":null,"secret_key":null},"segment":{"key":null,"domain":null},"speakeasy":{"key":null,"spec_url":null},"stainless":{"key":null,"name":null},"typekit":{"key":null},"zendesk":{"subdomain":null},"intercom":{"app_id":null,"secure_mode":{"key":null,"email_only":false}}},"permissions":{"appearance":{"private_label":"disabled","custom_code":{"css":"disabled","html":"disabled","js":"disabled"}},"branches":{"merge":{"admin":true}}},"appearance":{"brand":{"primary_color":"#023189","link_color":"#023189","theme":"system"},"changelog":{"layout":"collapsed","show_author":true,"show_exact_date":false},"layout":{"full_width":"disabled","style":"classic"},"markdown":{"callouts":{"icon_font":"emojis"}},"table_of_contents":"enabled","whats_next_label":null,"footer":{"readme_logo":"show"},"logo":{"size":"large","dark_mode":{"uri":"/images/64a2ffced754150ad7be7330","url":"https://files.readme.io/64a3719-small-3QvLQWfN.png","name":"64a3719-small-3QvLQWfN.png","width":231,"height":80,"color":"#ffffff","links":{"original_url":"https://files.readme.io/c317004-3QvLQWfN.png"}},"main":{"uri":null,"url":"https://files.readme.io/0a57379-small-logo.png","name":"logo.png","width":495,"height":80,"color":"#024b98","links":{"original_url":"https://files.readme.io/8b2fe65-logo.png"}},"favicon":{"uri":null,"url":"https://files.readme.io/ddd8e3e-small-loop-circle-border.png","name":"loop-circle-border.png","width":32,"height":32,"color":"#cfedf4","links":{"original_url":"https://files.readme.io/3232d65-loop-circle-border.png"}}},"custom_code":{"css":null,"js":null,"html":{"header":null,"home_footer":null,"page_footer":null}},"header":{"type":"overlay","gradient_color":"#0452e7","link_style":"buttons","overlay":{"fill":"cover","type":"custom","position":"center-center","image":{"uri":null,"url":"https://files.readme.io/e548b52-Group_507b.png","name":"Group 507b.png","width":1920,"height":350,"color":"#000000","links":{"original_url":null}}}},"ai":{"dropdown":"disabled","options":{"chatgpt":"enabled","claude":"enabled","clipboard":"enabled","copilot":"enabled","view_as_markdown":"enabled"}},"navigation":{"first_page":"documentation","left":[{"type":"link_url","title":"Web SDK","url":"https://web.developer.smartlook.com/docs","custom_page":null},{"type":"link_url","title":"Mobile SDK","url":"https://mobile.developer.smartlook.com/reference/gettingstartedmobile","custom_page":null},{"type":"link_url","title":"Rest API","url":"https://integrations.smartlook.com/docs/api-overview","custom_page":null},{"type":"link_url","title":"Integrations","url":"https://integrations.smartlook.com/docs","custom_page":null}],"logo_link":"landing_page","page_icons":"enabled","right":[{"type":"link_url","title":"Status","url":"https://smartlook.statuspage.io/","custom_page":null}],"sub_nav":[],"subheader_layout":"links","version":"disabled","links":{"home":{"label":"Home","visibility":"disabled"},"graphql":{"label":"GraphQL","visibility":"disabled"},"guides":{"label":"Guides","alias":null,"visibility":"enabled"},"reference":{"label":"API Reference","alias":"Reference","visibility":"disabled"},"recipes":{"label":"Recipes","alias":null,"visibility":"disabled"},"changelog":{"label":"Changelog","alias":null,"visibility":"disabled"},"discussions":{"label":"Discussions","alias":null,"visibility":"disabled"}}}},"git":{"connection":{"repository":{},"organization":null,"status":"inactive"}}}},"version":{"_id":"5e67afc4ec33c6001126c1dc","version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5e67afc5ec33c6001126c1de","62629f89e3f14d003eeeded3","6262a43a9be6b500478fa21f","6262ab0de85e550014f91a56","6262ab4346fa2e0066e53914","6262b92df3b1dc00363cbf79","6262be2c5736660049c44afd","6262c84c2d30db0647b5213f","6262c852fb4788001382f10e","6262cea562640706a4efde67","626bf909fedeed012d26450b","626bfa46f18820012245b12f","627915cffc6be30027427e12","627917cade662300673a815e","62c335691dfdd80028d92091","6376bf2f127d99000317001b","63778fdb7607ec0331da557c","63b6dbc70447e80042439e03","63ca99f7c8dea9007aeae820","63ca9acafd25040084e3bf4f","6401ec58d064ee000a8362f9","640883b1e6ec23004b9c2d84","641c5ee5df5c820058b19f4d"],"project":"5e67afc4ec33c6001126c1d7","releaseDate":"2020-03-10T15:18:28.983Z","createdAt":"2020-03-10T15:18:28.983Z","__v":1}},"is404":false,"isDetachedProductionSite":false,"lang":"en","langFull":"Default","reqUrl":"/docs/tracking-custom-events-with-google-tag-manager","version":{"_id":"5e67afc4ec33c6001126c1dc","version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5e67afc5ec33c6001126c1de","62629f89e3f14d003eeeded3","6262a43a9be6b500478fa21f","6262ab0de85e550014f91a56","6262ab4346fa2e0066e53914","6262b92df3b1dc00363cbf79","6262be2c5736660049c44afd","6262c84c2d30db0647b5213f","6262c852fb4788001382f10e","6262cea562640706a4efde67","626bf909fedeed012d26450b","626bfa46f18820012245b12f","627915cffc6be30027427e12","627917cade662300673a815e","62c335691dfdd80028d92091","6376bf2f127d99000317001b","63778fdb7607ec0331da557c","63b6dbc70447e80042439e03","63ca99f7c8dea9007aeae820","63ca9acafd25040084e3bf4f","6401ec58d064ee000a8362f9","640883b1e6ec23004b9c2d84","641c5ee5df5c820058b19f4d"],"project":"5e67afc4ec33c6001126c1d7","releaseDate":"2020-03-10T15:18:28.983Z","createdAt":"2020-03-10T15:18:28.983Z","__v":1}}">