Rich-text Reply

Cannot troubleshoot Optimizely.trackEvent(String) on Android

Kev1n 08-23-16

Cannot troubleshoot Optimizely.trackEvent(String) on Android

Hi,

 

I'm integrating Optimizely into an Android project and having issues troubleshooting my usage of

 

Optimizely.trackEvent(String description) 

 

I do not see my Goal's Custom Event "LandingPage_Global" being tracked on either CharlesProxy (network traffic app) nor in the Optimezly Dashboard (Experiment -> All variations`). I'm not sure how else to troubleshoot this.

 

I have used

Optimizely.enablePreview();

which shows Experiments and the "Activity Feed" menu item. Clicking "Activity Feed" does show my

"Event Fired

[OptimizelyEventsManager] Custom event conversion with description LandingPage_Global"

 

Hopefully someone can shed some light  on my issue.

 

Thanks in advance.

Level 1

DavidS 08-24-16
 

Re: Cannot troubleshoot Optimizely.trackEvent(String) on Android

Hi Kev1n,

 

Thanks for reaching out to Optimizely!

If Preview Mode shows the event as firing but no network request are being made while in Normal Mode then I would check the app log to verify if why the event is not being sent. You should be able to see an error in the log. Please paste it below so we can investigate. 

 

Let me know if this helps or if you have any other questions!

 

Best,
David

 

Optimizely