{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","settings":"","results":{"codes":[]},"params":[]},"next":{"description":"","pages":[]},"title":"Visits & Visitors","type":"basic","slug":"visits-visitors","excerpt":"How Attribution tracks your visitors and connects with ad integrations & conversion events","body":"Visits are an essential and they are used to build your Attribution model. In other analytics programs like Google Analytics you may see visits tracked as \"sessions\", but don't worry because these two names are almost interchangeable. \n\n*Visits* are a metric, while *visitors* are people. Attribution records a *pageview* anytime attribution.js snippet is loaded and `Attribution.page()` is called. *Visit* is a key *pageview* which defines the landing page, parameters and referral source where the visitor came from. When the the script loads Attribution will receive important information on the visitor and collect that information to be stored for modeling. \n[block:api-header]\n{\n  \"title\": \"What happens when a visit is recorded?\"\n}\n[/block]\nWhen a visitor arrives to one of your tracked pages and analytics.js is loaded properly a visit will appear on your dashboard. \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/5b72c5e-Screen_Shot_2021-01-21_at_1.11.34_PM.png\",\n        \"Screen Shot 2021-01-21 at 1.11.34 PM.png\",\n        1440,\n        790,\n        \"#333\"\n      ]\n    }\n  ]\n}\n[/block]\nClicking on the blue visit figure will open the sidebar which will allow you to drill down deeper into the recorded visits, with Attribution you can see the full visitor journey, each ad click, conversion, and visit. \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/cfb3337-Screen_Shot_2021-01-21_at_1.13.42_PM.png\",\n        \"Screen Shot 2021-01-21 at 1.13.42 PM.png\",\n        1440,\n        789,\n        \"#333\"\n      ]\n    }\n  ]\n}\n[/block]\nYou can drill down even further to see specifically which data analytics.js is collecting from the visit. \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/e21a30c-Screen_Shot_2021-01-21_at_1.15.30_PM.png\",\n        \"Screen Shot 2021-01-21 at 1.15.30 PM.png\",\n        1440,\n        789,\n        \"#333\"\n      ]\n    }\n  ]\n}\n[/block]\nAttribution will set an anonymous id for the visitor by default, this id will allow Attribution to track the visitor's future visits as well. Attribution will collect all these visits and use data from them to award credit to your ad platforms. \n[block:api-header]\n{\n  \"title\": \"Referring domains & destination URLs (how to filter with Attribution)\"\n}\n[/block]\nWhen a visit is recorded Attribution will capture the referring and destination URL of the visitor. As a recap, the referring URL is the URL that the visitor is arriving to your page from, while the destination URL is the page your visitor is landing on or going to. \n\nFor example, if a visitor is on https://www.google.com and searches for Attribution app and clicks the URL https://attributionapp.com/\n\nIn this case, https://google.com would be the referring URL while https://www.attributionapp.com would be the destination URL since https://google.com is where the visitor is coming from and https://attributionapp.com is where the visitor landed. \n[block:api-header]\n{\n  \"title\": \"Putting it together\"\n}\n[/block]\nAttribution will use the referring and destination URL to filter your ads. When you integrate Attribution with one of your ad platforms, Attribution will automatically auto-tag your ads with a unique parameter. Attribution will look for this parameter to tie spend with visits and ultimately build your model. \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/a8be6f0-Screen_Shot_2021-01-21_at_1.23.12_PM.png\",\n        \"Screen Shot 2021-01-21 at 1.23.12 PM.png\",\n        806,\n        790,\n        \"#333\"\n      ]\n    }\n  ]\n}\n[/block]\nIn the example above we are drilling down into a visit where you can see the visit time stamp, the channel, the filter, the spend, and the destination URL. \n[block:api-header]\n{\n  \"title\": \"Attribution visits vs Google sessions\"\n}\n[/block]\nA visit is a group of visitor interactions with your website that take place within a given time frame. \n\nFor example a single visit can contain multiple page views, events, social interactions, and e-commerce transactions.\n\nA single visitor can record multiple visits. Those visits can occur on the same day, or over several days, weeks, or months. As soon as one visit ends, there is then an opportunity to start a new visit. There are two methods by which a visit can end:\n\nTime-based expiration:\n\nAfter 30 minutes of inactivity\nCampaign change:\n\nIf a visitor comes to your website via one campaign, then visits again via another campaign\nBecause Attribution tracks all of your campaigns across multiple channels it is possible for the visitor to click into a different campaign from another platform and begin a new visit. \n\nFor example, in Attribution if a visitor first clicks on one of your Google Ad campaigns, then prior to the 30 minute inactivity window expiring clicks on one of your Facebook Ads, this would end the Google Ad visit and begin the Facebook visit, ultimately registering two visits in Attribution. \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/5e3194b-file-0B70vqU3yT.png\",\n        \"file-0B70vqU3yT.png\",\n        1831,\n        829,\n        \"#333\"\n      ]\n    }\n  ]\n}\n[/block]\nIn contrast, if you looked at your Google Analytics dashboard the image above would only register one session because Google would not account for the Facebook Ad because it is not part of their platform.\n\nIf you have any questions please feel free to reach out to help:::at:::attributionapp.com","updates":[],"order":0,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"600964f3127841001161c73d","createdAt":"2021-01-21T11:26:43.095Z","user":"560c92f2ac2859170013faa3","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Connecting the dots","slug":"connecting-the-dots","order":2,"from_sync":false,"reference":false,"_id":"6009604d81b288001417df30","createdAt":"2021-01-21T11:06:53.969Z","version":"560c93ae7e9b9d0d00ca81a5","project":"560c93ad7e9b9d0d00ca81a2","__v":0},"version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["560c93af7e9b9d0d00ca81a6","560c9d9399bb5a0d0044f220","560d76d899bb5a0d0044f307","560d76ee1ec45619006069ed","560d86e099bb5a0d0044f32e","560dba80373c0e0d0024ff3b","57c722ecdf19130e001fba5d","57c743d1b6f94a2200659903","58995ec083f743190077bbe2","5fabfb070e9b0600424707dd","60004359deee820012dc1efc","600060c72dcd9d002fa13656","6001ac08c104fe002b933b7c","6009604d81b288001417df30","60097b7be8ec1e00334419f6","600aa98de28fae003a33108a","600aa9ee7d3e350018e7d6e4","601176819ca8c90011cfe6ac"],"_id":"560c93ae7e9b9d0d00ca81a5","project":"560c93ad7e9b9d0d00ca81a2","createdAt":"2015-10-01T02:00:14.709Z","releaseDate":"2015-10-01T02:00:14.709Z","__v":18},"project":"560c93ad7e9b9d0d00ca81a2","__v":0,"parentDoc":null}

Visits & Visitors

How Attribution tracks your visitors and connects with ad integrations & conversion events

Visits are an essential and they are used to build your Attribution model. In other analytics programs like Google Analytics you may see visits tracked as "sessions", but don't worry because these two names are almost interchangeable. *Visits* are a metric, while *visitors* are people. Attribution records a *pageview* anytime attribution.js snippet is loaded and `Attribution.page()` is called. *Visit* is a key *pageview* which defines the landing page, parameters and referral source where the visitor came from. When the the script loads Attribution will receive important information on the visitor and collect that information to be stored for modeling. [block:api-header] { "title": "What happens when a visit is recorded?" } [/block] When a visitor arrives to one of your tracked pages and analytics.js is loaded properly a visit will appear on your dashboard. [block:image] { "images": [ { "image": [ "https://files.readme.io/5b72c5e-Screen_Shot_2021-01-21_at_1.11.34_PM.png", "Screen Shot 2021-01-21 at 1.11.34 PM.png", 1440, 790, "#333" ] } ] } [/block] Clicking on the blue visit figure will open the sidebar which will allow you to drill down deeper into the recorded visits, with Attribution you can see the full visitor journey, each ad click, conversion, and visit. [block:image] { "images": [ { "image": [ "https://files.readme.io/cfb3337-Screen_Shot_2021-01-21_at_1.13.42_PM.png", "Screen Shot 2021-01-21 at 1.13.42 PM.png", 1440, 789, "#333" ] } ] } [/block] You can drill down even further to see specifically which data analytics.js is collecting from the visit. [block:image] { "images": [ { "image": [ "https://files.readme.io/e21a30c-Screen_Shot_2021-01-21_at_1.15.30_PM.png", "Screen Shot 2021-01-21 at 1.15.30 PM.png", 1440, 789, "#333" ] } ] } [/block] Attribution will set an anonymous id for the visitor by default, this id will allow Attribution to track the visitor's future visits as well. Attribution will collect all these visits and use data from them to award credit to your ad platforms. [block:api-header] { "title": "Referring domains & destination URLs (how to filter with Attribution)" } [/block] When a visit is recorded Attribution will capture the referring and destination URL of the visitor. As a recap, the referring URL is the URL that the visitor is arriving to your page from, while the destination URL is the page your visitor is landing on or going to. For example, if a visitor is on https://www.google.com and searches for Attribution app and clicks the URL https://attributionapp.com/ In this case, https://google.com would be the referring URL while https://www.attributionapp.com would be the destination URL since https://google.com is where the visitor is coming from and https://attributionapp.com is where the visitor landed. [block:api-header] { "title": "Putting it together" } [/block] Attribution will use the referring and destination URL to filter your ads. When you integrate Attribution with one of your ad platforms, Attribution will automatically auto-tag your ads with a unique parameter. Attribution will look for this parameter to tie spend with visits and ultimately build your model. [block:image] { "images": [ { "image": [ "https://files.readme.io/a8be6f0-Screen_Shot_2021-01-21_at_1.23.12_PM.png", "Screen Shot 2021-01-21 at 1.23.12 PM.png", 806, 790, "#333" ] } ] } [/block] In the example above we are drilling down into a visit where you can see the visit time stamp, the channel, the filter, the spend, and the destination URL. [block:api-header] { "title": "Attribution visits vs Google sessions" } [/block] A visit is a group of visitor interactions with your website that take place within a given time frame. For example a single visit can contain multiple page views, events, social interactions, and e-commerce transactions. A single visitor can record multiple visits. Those visits can occur on the same day, or over several days, weeks, or months. As soon as one visit ends, there is then an opportunity to start a new visit. There are two methods by which a visit can end: Time-based expiration: After 30 minutes of inactivity Campaign change: If a visitor comes to your website via one campaign, then visits again via another campaign Because Attribution tracks all of your campaigns across multiple channels it is possible for the visitor to click into a different campaign from another platform and begin a new visit. For example, in Attribution if a visitor first clicks on one of your Google Ad campaigns, then prior to the 30 minute inactivity window expiring clicks on one of your Facebook Ads, this would end the Google Ad visit and begin the Facebook visit, ultimately registering two visits in Attribution. [block:image] { "images": [ { "image": [ "https://files.readme.io/5e3194b-file-0B70vqU3yT.png", "file-0B70vqU3yT.png", 1831, 829, "#333" ] } ] } [/block] In contrast, if you looked at your Google Analytics dashboard the image above would only register one session because Google would not account for the Facebook Ad because it is not part of their platform. If you have any questions please feel free to reach out to [email protected]