{"id":3040,"date":"2023-05-08T08:11:44","date_gmt":"2023-05-08T08:11:44","guid":{"rendered":"https:\/\/gaconnector.com\/docs\/?p=3040"},"modified":"2023-05-13T15:47:20","modified_gmt":"2023-05-13T15:47:20","slug":"connecting-your-ga4-property","status":"publish","type":"post","link":"https:\/\/gaconnector.com\/docs\/connecting-your-ga4-property\/","title":{"rendered":"Connecting your GA4 property"},"content":{"rendered":"<p>In order for GA Connector to send events to your GA4 property. You&#8217;ll need to add the property through the GA Connector integration settings on your account dashboard.<\/p>\n<ol>\n<li>\u00a0Login to your account and go to the <a title=\"\" href=\"https:\/\/app.gaconnector.com\/dashboard\/integration\/crm-to-ga4\/\" target=\"_blank\" rel=\"noopener noreferrer\">CRM-to-GA4 Integration page<\/a> in your dashboard<\/li>\n<li>Start adding your GA4 property by clicking <em><strong>Connect GA4 Property<\/strong>.<\/em><\/li>\n<li>On the <strong><em>property name<\/em><\/strong>, you can set any name you want for your property that is easy to remember.<\/li>\n<li>Enter your property&#8217;s <em><a title=\"\" href=\"https:\/\/support.google.com\/analytics\/answer\/9539598?hl=en\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Measurement ID<\/strong><\/a>\u00a0<\/em> and <em><a title=\"\" href=\"https:\/\/support.google.com\/analytics\/answer\/9814495?sjid=1607618515956570678-AP\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>API Secret<\/strong><\/a>.<\/em><\/li>\n<li>Click <em><strong>Connect Property.<\/strong><\/em><\/li>\n<\/ol>\n<h2>Connecting multiple GA4 Properties<\/h2>\n<p>If you have multiple GA4 Properties added, you&#8217;ll need to create a new custom field on your objects so GA Connector could identify which GA4 property to send the event to.<\/p>\n<ol>\n<li>In Salesforce go to <strong>Setup &gt;\u00a0\u00a0Object Manager<\/strong><\/li>\n<li>Select the object related to your event<\/li>\n<li>Click on\u00a0<strong>Fields &amp; Relationships<\/strong> and select <strong>New<\/strong><\/li>\n<li>Choose\u00a0<strong>Text\u00a0<\/strong>as the Data type and click on Next<\/li>\n<li>On the Field Label, you can name it &#8220;Measurement ID&#8221; or anything you prefer<\/li>\n<li>On the Length field, use &#8220;255&#8221;<\/li>\n<li>On the Field Name field, it is required to set it as &#8220;<em><strong>gaconnector_GA_Measurement_ID<\/strong><\/em>&#8220;<\/li>\n<li>Save your new custom field<\/li>\n<\/ol>\n<p>This new custom field must contain the measurement ID of the GA4 property where you want the event to be sent.<\/p>\n<p>If no custom field is found or\u00a0the value is empty. GA Connector will send the event to the GA4 property that is set as default.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In order for GA Connector to send events to your GA4 property. You&#8217;ll need to add the property through the GA Connector integration settings on your account dashboard. \u00a0Login to your account and go to the CRM-to-GA4 Integration page in your dashboard Start adding your GA4 property by clicking Connect GA4 Property. On the property [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"_links":{"self":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/3040"}],"collection":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/comments?post=3040"}],"version-history":[{"count":10,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/3040\/revisions"}],"predecessor-version":[{"id":3051,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/posts\/3040\/revisions\/3051"}],"wp:attachment":[{"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/media?parent=3040"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/categories?post=3040"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gaconnector.com\/docs\/wp-json\/wp\/v2\/tags?post=3040"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}