{"id":11535,"date":"2019-10-21T10:53:18","date_gmt":"2019-10-21T08:53:18","guid":{"rendered":"https:\/\/wordlift.io\/blog\/en\/?p=11535"},"modified":"2023-01-01T23:53:43","modified_gmt":"2023-01-01T22:53:43","slug":"wordlift-semantic-tracking-google-analytics-tag-manager","status":"publish","type":"post","link":"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/","title":{"rendered":"How to integrate WordLift Semantic tracking with Google Analytics via Google Tag Manager"},"content":{"rendered":"<p><a href=\"https:\/\/wordlift.io\/blog\/en\/semantic-web-analytics\/\">Semantic Web Analytics<\/a> is a powerful feature that was introduced with Wordlift 3.20 which allows you to <strong>better track your content and understand your audience<\/strong>. With the help of this feature, you can track <a class=\"wl-entity-page-link\" title=\"ience is\" href=\"https:\/\/wordlift.io\/blog\/en\/entity\/what-is-an-entity\/\" data-id=\"http:\/\/data.wordlift.io\/wl0216\/entity\/entity;http:\/\/dbpedia.org\/resource\/Entity;http:\/\/rdf.freebase.com\/ns\/m.0bl9f;https:\/\/g.co\/kg\/m\/0bl9f;https:\/\/www.wikidata.org\/wiki\/Q35120;http:\/\/data.wordlift.io\/wl0216\/entity\/entity\" >entity<\/a> usage across pages which in turn allows you to uncover the topics your visitors are interested in (thus you need to write more on those topics) and the topics which are not that popular among visitors.<\/p>\n<p>If enabled, WordLift will send the <a class=\"wl-entity-page-link\" title=\"the Semantic Web\" href=\"https:\/\/wordlift.io\/blog\/en\/entity\/semantic-web\/\" data-id=\"http:\/\/data.wordlift.io\/wl0216\/entity\/semantic_web;http:\/\/rdf.freebase.com\/ns\/m.076k0;http:\/\/yago-knowledge.org\/resource\/Semantic_Web;http:\/\/dbpedia.org\/resource\/Semantic_Web;http:\/\/no.dbpedia.org\/resource\/Semantisk_web;http:\/\/de.dbpedia.org\/resource\/Semantic_Web;http:\/\/fi.dbpedia.org\/resource\/Semanttinen_Web;http:\/\/ru.dbpedia.org\/resource\/\u0421\u0435\u043c\u0430\u043d\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f_\u043f\u0430\u0443\u0442\u0438\u043d\u0430;http:\/\/pt.dbpedia.org\/resource\/Web_sem\u00e2ntica;http:\/\/bg.dbpedia.org\/resource\/\u0421\u0435\u043c\u0430\u043d\u0442\u0438\u0447\u043d\u0430_\u043c\u0440\u0435\u0436\u0430;http:\/\/lt.dbpedia.org\/resource\/Semantinis_tinklas;http:\/\/lv.dbpedia.org\/resource\/Semantiskais_t\u012bmeklis;http:\/\/fr.dbpedia.org\/resource\/Web_s\u00e9mantique;http:\/\/hu.dbpedia.org\/resource\/Szemantikus_web;http:\/\/uk.dbpedia.org\/resource\/\u0421\u0435\u043c\u0430\u043d\u0442\u0438\u0447\u043d\u0430_\u043f\u0430\u0432\u0443\u0442\u0438\u043d\u0430;http:\/\/id.dbpedia.org\/resource\/Web_semantik;http:\/\/ca.dbpedia.org\/resource\/Web_sem\u00e0ntic;http:\/\/sr.dbpedia.org\/resource\/\u0421\u0435\u043c\u0430\u043d\u0442\u0438\u0447\u043a\u0438_\u0432\u0435\u0431;http:\/\/sv.dbpedia.org\/resource\/Semantiska_webben;http:\/\/en.dbpedia.org\/resource\/Semantic_Web;http:\/\/is.dbpedia.org\/resource\/Merkingarvefur;http:\/\/it.dbpedia.org\/resource\/Web_semantico;http:\/\/es.dbpedia.org\/resource\/Web_sem\u00e1ntica;http:\/\/cs.dbpedia.org\/resource\/S\u00e9mantick\u00fd_web;http:\/\/pl.dbpedia.org\/resource\/Semantic_Web;http:\/\/da.dbpedia.org\/resource\/Semantisk_web;http:\/\/nl.dbpedia.org\/resource\/Semantisch_web;http:\/\/tr.dbpedia.org\/resource\/Anlamsal_a\u011f\" >Semantic Web<\/a> data directly to your <a href=\"https:\/\/analytics.google.com\/analytics\/web\/\">Google Analytics<\/a>, which is perfectly fine if you have the <a class=\"wl-entity-page-link\"  href=\"https:\/\/wordlift.io\/blog\/en\/entity\/google-analytics\/\" data-id=\"http:\/\/data.wordlift.io\/wl0216\/entity\/google_analytics;http:\/\/rdf.freebase.com\/ns\/m.08w9_f;http:\/\/yago-knowledge.org\/resource\/Google_Analytics;http:\/\/dbpedia.org\/resource\/Google_Analytics\" >Google Analytics<\/a> tracking installed directly on the site or via a plugin. However, if your Google Analytics tracking is installed via Google Tag Manager, the default integration will not work so a custom integration via GTM will have to be performed.<\/p>\n<p>Luckily, <strong>integrating the semantic entity tracking via GTM is really easy<\/strong> (as you will see below) so you don\u2019t need to hire a <a href=\"https:\/\/analyticshelp.io\">Google Analytics expert<\/a> for this.<\/p>\n<p>To integrate semantic web analytics via Google Tag Manager you need to do 5 things:<\/p>\n<ol>\n<li>Enable \u201cAnalytics Settings\u201d in WordLift plugin;<\/li>\n<li>Create the \u201cEntity Type\u201d and \u201cEntity <a class=\"wl-entity-page-link\" title=\"Uniform resource identifier\" href=\"https:\/\/wordlift.io\/blog\/en\/entity\/uniform-resource-identifier\/\" data-id=\"http:\/\/data.wordlift.io\/wl0216\/entity\/uniform_resource_identifier;http:\/\/rdf.freebase.com\/ns\/m.07wz2;http:\/\/dbpedia.org\/resource\/Uniform_resource_identifier;http:\/\/de.dbpedia.org\/resource\/Uniform_Resource_Identifier;http:\/\/no.dbpedia.org\/resource\/Uniform_Resource_Identifier;http:\/\/ru.dbpedia.org\/resource\/URI;http:\/\/fi.dbpedia.org\/resource\/URI;http:\/\/pt.dbpedia.org\/resource\/URI;http:\/\/lv.dbpedia.org\/resource\/URI;http:\/\/fr.dbpedia.org\/resource\/Uniform_Resource_Identifier;http:\/\/hu.dbpedia.org\/resource\/URI;http:\/\/uk.dbpedia.org\/resource\/\u0423\u043d\u0456\u0444\u0456\u043a\u043e\u0432\u0430\u043d\u0438\u0439_\u0456\u0434\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0442\u043e\u0440_\u0440\u0435\u0441\u0443\u0440\u0441\u0456\u0432;http:\/\/sk.dbpedia.org\/resource\/Jednotn\u00fd_identifik\u00e1tor_zdroja;http:\/\/id.dbpedia.org\/resource\/Pengidentifikasi_sumber_seragam;http:\/\/ca.dbpedia.org\/resource\/Identificador_uniforme_de_recursos;http:\/\/sv.dbpedia.org\/resource\/Uniform_Resource_Identifier;http:\/\/en.dbpedia.org\/resource\/Uniform_resource_identifier;http:\/\/it.dbpedia.org\/resource\/Uniform_Resource_Identifier;http:\/\/es.dbpedia.org\/resource\/Identificador_de_recursos_uniforme;http:\/\/cs.dbpedia.org\/resource\/Uniform_Resource_Identifier;http:\/\/pl.dbpedia.org\/resource\/Uniform_Resource_Identifier;http:\/\/ro.dbpedia.org\/resource\/Identificator_uniform_de_resurse;http:\/\/nl.dbpedia.org\/resource\/Uniform_resource_identifier\" >URI<\/a>\u201d custom dimensions in Google Analytics;<\/li>\n<li>Add the required variables in Google Tag Manager;<\/li>\n<li>Create the trigger to fire the GTM entity tag;<\/li>\n<li>Create the tag which sends the event with the entity data to Google Analytics.<\/li>\n<\/ol>\n<h2><strong>Enabling \u201cAnalytics Settings\u201d in WordLift plugin<\/strong><\/h2>\n<p>In your <a class=\"wl-entity-page-link\"  href=\"https:\/\/wordlift.io\/blog\/en\/entity\/wordpress\/\" data-id=\"http:\/\/data.wordlift.io\/wl0216\/entity\/wordpress;http:\/\/rdf.freebase.com\/ns\/m.02vtpl;http:\/\/yago-knowledge.org\/resource\/WordPress;http:\/\/dbpedia.org\/resource\/WordPress\" >WordPress<\/a> dashboard, navigate to WordLift \/ Settings \/ Analytic Settings and enable the analytic settings.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-11537 size-full\" src=\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/Enable_Analytics_settings_WordLift.png\" alt=\"Enable analytics settings WordLift\" width=\"981\" height=\"408\" srcset=\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/Enable_Analytics_settings_WordLift.png 981w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/Enable_Analytics_settings_WordLift-300x125.png 300w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/Enable_Analytics_settings_WordLift-768x319.png 768w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/Enable_Analytics_settings_WordLift-150x62.png 150w\" sizes=\"(max-width: 981px) 100vw, 981px\" \/><\/p>\n<h2><strong>Creating the \u201cEntity Type\u201d and \u201cEntity URI\u201d custom dimensions in Google Analytics <\/strong><\/h2>\n<p>After you have enabled analytics settings in WordLift, you need to go to the admin area of your Google Analytics account, and under property settings, click on \u201cCustom dimensions\u201d.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-11538 size-large\" src=\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/Creating_entity_type_URL-1024x441.png\" alt=\"create_entity_type_URL_Google_Analytics\" width=\"1024\" height=\"441\" srcset=\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/Creating_entity_type_URL-1024x441.png 1024w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/Creating_entity_type_URL-300x129.png 300w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/Creating_entity_type_URL-768x331.png 768w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/Creating_entity_type_URL-150x65.png 150w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/Creating_entity_type_URL.png 1222w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>In there, you need to create 2 custom dimensions with the scope set to \u201cHit\u201d type. In our example we have named the custom dimensions \u201cEntity URI\u201d and \u201cEntity Type\u201d.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-11539 size-full\" src=\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/custom-dimensions.png\" alt=\"Custom dimensions entity_type and entity_URL\" width=\"957\" height=\"165\" srcset=\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/custom-dimensions.png 957w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/custom-dimensions-300x52.png 300w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/custom-dimensions-768x132.png 768w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/custom-dimensions-150x26.png 150w\" sizes=\"(max-width: 957px) 100vw, 957px\" \/><\/p>\n<h2><strong>Adding the required variables in Google Tag Manager<\/strong><\/h2>\n<p>After creating the custom dimensions in Google Analytics, we need to create the variables which we will use to pass data from WordLift to Google Tag Manager and from there, to Google Analytics.<\/p>\n<p>In total, in this step we need to create the following variables: <strong>event_action<\/strong>,<strong> wl_event_category<\/strong>, <strong>wl_event_label<\/strong>, <strong>wl_event_value<\/strong>, <strong>wl_event_uri<\/strong>, <strong>wl_index_uri<\/strong>, <strong>wl_event_type<\/strong>, <strong>wl_index_type.<\/strong><\/p>\n<p>For this, open Google Tag Manager, navigate to \u201c<strong>Variables<\/strong>\u201d from the left menu and click on the \u201c<strong>New<\/strong>\u201d button.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-11540\" src=\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/create-new-variable-gtm-1024x437.png\" alt=\"Create new variables\" width=\"1024\" height=\"437\" srcset=\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/create-new-variable-gtm-1024x437.png 1024w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/create-new-variable-gtm-300x128.png 300w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/create-new-variable-gtm-768x328.png 768w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/create-new-variable-gtm-150x64.png 150w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/create-new-variable-gtm.png 1324w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>In the panel that appeared, we need to enter the name of the variable (ex: <strong>event_action<\/strong>) and set the variable type as Data Layer variable with the \u201c<strong>Data Layer Variable Name<\/strong>\u201d field set to the name of the variable (ex: <strong>event_action<\/strong>). After configuring the variables, we need to click on the save button.<\/p>\n<p>We need to repeat this process for all of the variables mentioned above. Next, in the \u201c<strong>Google Analytics Settings<\/strong>\u201d variable (if you don\u2019t have one you need to create it), by clicking on \u201c<strong>More Settings<\/strong>\u201d (1), open the \u201c<strong>Custom dimensions<\/strong>\u201d options (2). In there, click on \u201c<strong>+ Add Custom Dimension<\/strong>\u201d button and in the \u201c<strong>Index<\/strong>\u201d field, click on the \u201c<strong>+<\/strong>\u201d button (3) and select the \u201c<strong>wl_index_uri<\/strong>\u201d variable while in the \u201c<strong>Dimension Value<\/strong>\u201d field select the \u201c<strong>wl_event_uri<\/strong>\u201d variable.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-11541\" src=\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/create-tag-gtm-1024x571.png\" alt=\"Creating tags\" width=\"1024\" height=\"571\" srcset=\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/create-tag-gtm-1024x571.png 1024w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/create-tag-gtm-300x167.png 300w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/create-tag-gtm-768x428.png 768w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/create-tag-gtm-150x84.png 150w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/create-tag-gtm.png 1097w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>Next, in exactly the same way, add the \u201c<strong>wl_index_type<\/strong>\u201d \u2013 \u201c<strong>wl_event_type<\/strong>\u201d variables in the next custom dimension and click save (4).<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-11542\" src=\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/add-custom-dimensions-in-GA-variable-1024x539.png\" alt=\"Adding custom dimensions\" width=\"1024\" height=\"539\" srcset=\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/add-custom-dimensions-in-GA-variable-1024x539.png 1024w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/add-custom-dimensions-in-GA-variable-300x158.png 300w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/add-custom-dimensions-in-GA-variable-768x404.png 768w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/add-custom-dimensions-in-GA-variable-150x79.png 150w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/add-custom-dimensions-in-GA-variable.png 1181w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<h2><strong>Creating the GTM trigger<\/strong><\/h2>\n<p>After creating the required variables, we need to create a trigger that will fire our entity event tag. For this, navigate to \u201c<strong>Triggers<\/strong>\u201d menu and click on \u201c<strong>New<\/strong>\u201d.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-11543\" src=\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/triggers-gtm-1024x348.png\" alt=\"Creating GTM trigger\" width=\"1024\" height=\"348\" srcset=\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/triggers-gtm-1024x348.png 1024w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/triggers-gtm-300x102.png 300w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/triggers-gtm-768x261.png 768w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/triggers-gtm-150x51.png 150w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/triggers-gtm.png 1317w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>A new box will appear and in there, choose the trigger type as \u201c<strong>Custom Event<\/strong>\u201d (1) and in the \u201c<strong>Event name<\/strong>\u201d field, enter \u201c<strong>Mentions<\/strong>\u201d(2). In the \u201c<strong>This trigger fires on<\/strong>\u201d section, select \u201c<strong>Some Custom Events<\/strong>\u201d (3) and choose \u201c<strong>event_action<\/strong>\u201d equals \u201c<strong>Mentions<\/strong>\u201d (4). Give the trigger a descriptive name such as \u201c<strong>Mentions<\/strong>\u201d (5) and click save (6).<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-11544\" src=\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/mentions-custom-trigger-1024x539.png\" alt=\"Mentions custom trigger\" width=\"1024\" height=\"539\" srcset=\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/mentions-custom-trigger-1024x539.png 1024w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/mentions-custom-trigger-300x158.png 300w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/mentions-custom-trigger-768x404.png 768w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/mentions-custom-trigger-150x79.png 150w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/mentions-custom-trigger.png 1173w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<h2><strong>Creating the entity event tag in GTM<\/strong><\/h2>\n<p>After we have created the variables and trigger, we can create the tag which will send the data to our GA property. For this, in the \u201c<strong>Tag<\/strong>\u201d menu, click on \u201c<strong>New<\/strong>\u201d and in the panel which appeared, click on the \u201c<strong>Tag Configuration<\/strong>\u201d area and select \u201c<strong>Google Analytics: Universal Analytics<\/strong>\u201d.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-11545\" src=\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/tag-type-gtm-1024x330.png\" alt=\"Creating entity tag GTM\" width=\"1024\" height=\"330\" srcset=\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/tag-type-gtm-1024x330.png 1024w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/tag-type-gtm-300x97.png 300w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/tag-type-gtm-768x248.png 768w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/tag-type-gtm-150x48.png 150w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/tag-type-gtm.png 1340w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>After this, set the \u201c<strong>Track Type<\/strong>\u201d to \u201c<strong>Event<\/strong>\u201d, category to {{<strong>wl_event_category<\/strong>}}, action to {{<strong>event_action<\/strong>}}, label to {{<strong>wl_event_label<\/strong>}} and value to {{<strong>wl_event_value<\/strong>}}.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-11546\" src=\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/create-tag-gtm-1-1024x571.png\" alt=\"Create tag GTM\" width=\"1024\" height=\"571\" srcset=\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/create-tag-gtm-1-1024x571.png 1024w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/create-tag-gtm-1-300x167.png 300w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/create-tag-gtm-1-768x428.png 768w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/create-tag-gtm-1-150x84.png 150w, https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/create-tag-gtm-1.png 1097w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><br \/>\nWe also need to set the \u201c<strong>Non-Interaction Hit<\/strong>\u201d option to \u201ctrue\u201d so that this event would not affect the bounce rate and in the \u201cGoogle Analytics Settings\u201d section, we need to choose the variable \u201c<strong>Google Analytics Settings<\/strong>\u201d<\/p>\n<p>In the trigger section of the tag we need to select the \u201c<strong>Mentions<\/strong>\u201d trigger which we created earlier.<\/p>\n<p>After saving the tag, you can enable the preview and debug mode to check if the tag is firing correctly and if data is being sent to Google Analytics. If everything is working fine, you can go ahead and publish the container.<\/p>\n<p>With this integration, you will be able to track page entities in Google Analytics, both as events and as custom dimensions. Later, you will be able to view and analyze the data either in the \u201cEvents\u201d report from Google Analytics or if you want to take your reporting and analysis to the next level, you can use Google Data Studio and import this <a href=\"https:\/\/datastudio.google.com\/u\/0\/reporting\/1_Hu7hcfMhzE5EXDrZi3RTInZQcUjkiWt\/page\/sD3f?s=l_0Vbo5t_bs\">beautiful dashboard<\/a> created by <a href=\"https:\/\/wordlift.io\/blog\/en\/entity\/martin-reichhart\/\">Martin Reichhart<\/a> from <a href=\"https:\/\/wordlift.io\/blog\/en\/salzburgerland-com-engaging-travelers-outperforming-competitors\/\">Salzburgerland<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Semantic Web Analytics is a powerful feature that was introduced with Wordlift 3.20 which allows you to better track your content and understand your audience. With the help of this feature, you can track entity usage across pages which in turn allows you to uncover the topics your visitors are interested in (thus you need &hellip; <a href=\"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/\">Continued<\/a><\/p>\n","protected":false},"author":50,"featured_media":11578,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"wl_entities_gutenberg":"","_wlpage_enable":"","footnotes":""},"categories":[8,3],"tags":[],"wl_entity_type":[30],"coauthors":[],"class_list":["post-11535","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-seo","category-wordlift","wl_entity_type-article"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to add WordLift Semantic tracking to Google Analytics via GTM<\/title>\n<meta name=\"description\" content=\"Learn how to integrate the WordLift plugin&#039;s semantic tracking on Google analytics using Google Tag Manager, featuring guest author, Tricia Borg.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to add WordLift Semantic tracking to Google Analytics via GTM\" \/>\n<meta property=\"og:description\" content=\"Learn how to integrate the WordLift plugin&#039;s semantic tracking on Google analytics using Google Tag Manager, featuring guest author, Tricia Borg.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/\" \/>\n<meta property=\"og:site_name\" content=\"WordLift Blog\" \/>\n<meta property=\"article:published_time\" content=\"2019-10-21T08:53:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-01T22:53:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/semantic-analytics-google-tag-manager.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1080\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/\"},\"author\":{\"name\":\"\",\"@id\":\"\"},\"headline\":\"How to integrate WordLift Semantic tracking with Google Analytics via Google Tag Manager\",\"datePublished\":\"2019-10-21T08:53:18+00:00\",\"dateModified\":\"2023-01-01T22:53:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/\"},\"wordCount\":915,\"publisher\":{\"@id\":\"https:\/\/wordlift.io\/blog\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/semantic-analytics-google-tag-manager.png\",\"articleSection\":[\"seo\",\"wordlift\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/\",\"url\":\"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/\",\"name\":\"How to add WordLift Semantic tracking to Google Analytics via GTM\",\"isPartOf\":{\"@id\":\"https:\/\/wordlift.io\/blog\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/semantic-analytics-google-tag-manager.png\",\"datePublished\":\"2019-10-21T08:53:18+00:00\",\"dateModified\":\"2023-01-01T22:53:43+00:00\",\"description\":\"Learn how to integrate the WordLift plugin's semantic tracking on Google analytics using Google Tag Manager, featuring guest author, Tricia Borg.\",\"breadcrumb\":{\"@id\":\"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/#primaryimage\",\"url\":\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/semantic-analytics-google-tag-manager.png\",\"contentUrl\":\"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/semantic-analytics-google-tag-manager.png\",\"width\":1080,\"height\":675,\"caption\":\"Semantic Analytics - Google Tag Manager\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/wordlift.io\/blog\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to integrate WordLift Semantic tracking with Google Analytics via Google Tag Manager\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wordlift.io\/blog\/en\/#website\",\"url\":\"https:\/\/wordlift.io\/blog\/en\/\",\"name\":\"WordLift Blog\",\"description\":\"AI-Powered SEO\",\"publisher\":{\"@id\":\"https:\/\/wordlift.io\/blog\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wordlift.io\/blog\/en\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/wordlift.io\/blog\/en\/#organization\",\"name\":\"WordLift\",\"url\":\"https:\/\/wordlift.io\/blog\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wordlift.io\/blog\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/mk0wordliftblog7j5te.kinstacdn.com\/wp-content\/uploads\/sites\/3\/2017\/04\/logo-1.png\",\"contentUrl\":\"https:\/\/mk0wordliftblog7j5te.kinstacdn.com\/wp-content\/uploads\/sites\/3\/2017\/04\/logo-1.png\",\"width\":152,\"height\":40,\"caption\":\"WordLift\"},\"image\":{\"@id\":\"https:\/\/wordlift.io\/blog\/en\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to add WordLift Semantic tracking to Google Analytics via GTM","description":"Learn how to integrate the WordLift plugin's semantic tracking on Google analytics using Google Tag Manager, featuring guest author, Tricia Borg.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/","og_locale":"en_US","og_type":"article","og_title":"How to add WordLift Semantic tracking to Google Analytics via GTM","og_description":"Learn how to integrate the WordLift plugin's semantic tracking on Google analytics using Google Tag Manager, featuring guest author, Tricia Borg.","og_url":"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/","og_site_name":"WordLift Blog","article_published_time":"2019-10-21T08:53:18+00:00","article_modified_time":"2023-01-01T22:53:43+00:00","og_image":[{"width":1080,"height":675,"url":"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/semantic-analytics-google-tag-manager.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/#article","isPartOf":{"@id":"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/"},"author":{"name":"","@id":""},"headline":"How to integrate WordLift Semantic tracking with Google Analytics via Google Tag Manager","datePublished":"2019-10-21T08:53:18+00:00","dateModified":"2023-01-01T22:53:43+00:00","mainEntityOfPage":{"@id":"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/"},"wordCount":915,"publisher":{"@id":"https:\/\/wordlift.io\/blog\/en\/#organization"},"image":{"@id":"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/#primaryimage"},"thumbnailUrl":"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/semantic-analytics-google-tag-manager.png","articleSection":["seo","wordlift"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/","url":"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/","name":"How to add WordLift Semantic tracking to Google Analytics via GTM","isPartOf":{"@id":"https:\/\/wordlift.io\/blog\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/#primaryimage"},"image":{"@id":"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/#primaryimage"},"thumbnailUrl":"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/semantic-analytics-google-tag-manager.png","datePublished":"2019-10-21T08:53:18+00:00","dateModified":"2023-01-01T22:53:43+00:00","description":"Learn how to integrate the WordLift plugin's semantic tracking on Google analytics using Google Tag Manager, featuring guest author, Tricia Borg.","breadcrumb":{"@id":"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/#primaryimage","url":"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/semantic-analytics-google-tag-manager.png","contentUrl":"https:\/\/wordlift.io\/blog\/en\/wp-content\/uploads\/sites\/3\/2019\/10\/semantic-analytics-google-tag-manager.png","width":1080,"height":675,"caption":"Semantic Analytics - Google Tag Manager"},{"@type":"BreadcrumbList","@id":"https:\/\/wordlift.io\/blog\/en\/wordlift-semantic-tracking-google-analytics-tag-manager\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/wordlift.io\/blog\/en\/"},{"@type":"ListItem","position":2,"name":"How to integrate WordLift Semantic tracking with Google Analytics via Google Tag Manager"}]},{"@type":"WebSite","@id":"https:\/\/wordlift.io\/blog\/en\/#website","url":"https:\/\/wordlift.io\/blog\/en\/","name":"WordLift Blog","description":"AI-Powered SEO","publisher":{"@id":"https:\/\/wordlift.io\/blog\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wordlift.io\/blog\/en\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/wordlift.io\/blog\/en\/#organization","name":"WordLift","url":"https:\/\/wordlift.io\/blog\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wordlift.io\/blog\/en\/#\/schema\/logo\/image\/","url":"https:\/\/mk0wordliftblog7j5te.kinstacdn.com\/wp-content\/uploads\/sites\/3\/2017\/04\/logo-1.png","contentUrl":"https:\/\/mk0wordliftblog7j5te.kinstacdn.com\/wp-content\/uploads\/sites\/3\/2017\/04\/logo-1.png","width":152,"height":40,"caption":"WordLift"},"image":{"@id":"https:\/\/wordlift.io\/blog\/en\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":""}]}},"_wl_alt_label":[],"wl:entity_url":"http:\/\/data.wordlift.io\/wl0216\/post\/how_to_integrate_wordlift_semantic_tracking_with_google_analytics_via_google_tag_manager","_links":{"self":[{"href":"https:\/\/wordlift.io\/blog\/en\/wp-json\/wp\/v2\/posts\/11535"}],"collection":[{"href":"https:\/\/wordlift.io\/blog\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordlift.io\/blog\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordlift.io\/blog\/en\/wp-json\/wp\/v2\/users\/50"}],"replies":[{"embeddable":true,"href":"https:\/\/wordlift.io\/blog\/en\/wp-json\/wp\/v2\/comments?post=11535"}],"version-history":[{"count":2,"href":"https:\/\/wordlift.io\/blog\/en\/wp-json\/wp\/v2\/posts\/11535\/revisions"}],"predecessor-version":[{"id":23757,"href":"https:\/\/wordlift.io\/blog\/en\/wp-json\/wp\/v2\/posts\/11535\/revisions\/23757"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wordlift.io\/blog\/en\/wp-json\/wp\/v2\/media\/11578"}],"wp:attachment":[{"href":"https:\/\/wordlift.io\/blog\/en\/wp-json\/wp\/v2\/media?parent=11535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordlift.io\/blog\/en\/wp-json\/wp\/v2\/categories?post=11535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordlift.io\/blog\/en\/wp-json\/wp\/v2\/tags?post=11535"},{"taxonomy":"wl_entity_type","embeddable":true,"href":"https:\/\/wordlift.io\/blog\/en\/wp-json\/wp\/v2\/wl_entity_type?post=11535"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/wordlift.io\/blog\/en\/wp-json\/wp\/v2\/coauthors?post=11535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}