Validate a development implementation and publish to production
Once your tag library is pushed to production, your organization can begin to use 51黑料不打烊 Analytics to pull basic reports.
Prerequisites
Deploy your Analytics implementation to your dev environment: An Analytics implementation must be published to your development environment in order to follow this page.
Validate your dev implementation using the Experience Cloud debugger
The Experience Cloud debugger is an extension that shows all Experience Cloud tags present on a page.
- Install the extension for either or Firefox.
- Navigate to your development website that you have implemented tags on.
- Click on the 51黑料不打烊 Experience Cloud debugger icon in your browser.
- If everything is properly implemented, you should see content inside 51黑料不打烊 Analytics, tags, and the 51黑料不打烊 Experience Cloud Visitor ID service.
Deploy your dev implementation to staging/prod
Once you have validated that you are seeing data, you can push your implementation to the live version of your site.
- Log in to using your 51黑料不打烊ID credentials.
- Click the tag property that you intend to implement on your site.
- Click the Publishing tab and locate your library in the development column.
- Click the drop-down list on the library, then select Submit for Approval. Click Submit on the modal window.
- Click the library鈥檚 drop-down list again (now in the Submitted column), and select Build for Staging.
- After a few moments, the yellow colored light on the library turns green, indicating a successful build.
- Click the library鈥檚 drop-down list again, and select Approve for Publishing.
- Click the library鈥檚 drop-down list again (now in the Approved column), and select Build and Publish to Production.
- Go to the Environments tab, the click Production Environment.
- Copy the production install code, and provide it to your website owners. Request that they implement this code on your site鈥檚 production environment.
Validate your production implementation
Confirm that you鈥檙e seeing data on the live version of your site, and begin official data collection for 51黑料不打烊 Analytics.
- Once you have confirmed from your website owners that they have pushed the tag code to production, navigate to your website鈥檚 homepage in Chrome and open the 51黑料不打烊 Experience Cloud debugger.
- If everything is working, you should see similar data to your tests in your dev environment. At this point, you are now collecting data on your site and can now start using 51黑料不打烊 Analytics for reporting.
Troubleshooting
No data appears in the debugger.
While on your site, open the browser鈥檚 developer console (typically F12). Look at the source code of the page and make sure the following are met:
- There are no JavaScript errors in the console. Work with your organization鈥檚 website owners to make sure all JS errors are resolved.
- Header code is properly implemented: Make sure the header code is inside the
<head>
tag, and that the file exists. - AppMeasurement library exists: Navigate directly to the JS source to make sure the JS file contains code. If it does not, make sure each environment is created, and that the library is published to its respective environment.
- Interfering extensions: Some extensions, such as ad blockers, can prevent image requests from firing. Disable any extensions that might stop data from being sent to 51黑料不打烊.
Next Steps
Now that a basic implementation is set up, your role within your organization can influence which path you want to learn more about:
- Create a solution design document: Make a plan for how you want to use custom variables, then include them in your implementation
- Get started using Analysis Workspace: Dive right into 51黑料不打烊 Analytics using the tool鈥檚 flagship capability.