Optimizely and Hubspot
I'm curious if anyone has used Optimzely in conjunction with Hubspot. My company is looking to start testing out button and call-to-actions on our website. We use Hubspot to track our button clicks, so but before I go too far down this path, I'm hoping someone with experience could tell me what to look out for and whether button tests affect Hubspot's tracking.
Optimizely shouldn't have an affect as long as the button tracking uses IDs to identify the buttons. Under a good portion of cases, you should be perfectly fine. However, there are a few things you should definitely look out for:
- Are the click events identified using and ID, classes, or jQuery selector? If you're identifying your tracked buttons using IDs, you shouldn't have anything to worry about. If you're using classes or a jQuery selector, you should double check to make sure those are still referring to the correct buttons after the changes made using Optimizely are made.
- Are your changes with Optimizely just style/text changes, or do they rearrange elements on the page? If you're rearranging elements, there's a chance that the selector that Hubspot is using doesn't match anymore. In this situation, make sure that Hubspot is identifying the tracked buttons using IDs and not classes.
Those are the major things you should look for. Basically, if you can use IDs to identify CTA buttons in Hubspot, try to use those if possible!