Forums › Forums › OroCRM › OroCRM – Installation/Technical Issues or Problems › OroCRM tracking and OroCRM Magento Bridge weren't run correctly.
This topic contains 16 replies, has 5 voices, and was last updated by Mike Kudelya 7 years, 2 months ago.
Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.
- CreatorTopic
- July 18, 2016 at 7:51 pm #27237
I already use OroCRM Magento Bridge and OroCRM tracking for Integration for my OroCRM website.
But have some error occurred. Corporeality:
1. With OroCRM Magento Bridge: I can integration order info only, still magento card and newsletter subscribe is not integration to OroCRM
2. Same with OroCRM tracking, I used it follow the instruction in https://oroinc.com/orocrm/doc/current/user-guide/marketing-tracking-website-records. But when I perform an action in magento (add item card or view page) then no event were created in orocrm
Have bug here?
Someone help my please! - CreatorTopic
- AuthorReplies
- July 19, 2016 at 1:52 am #27238
Update:
I already update OroCRM bridge 1.2.5.0 but nothing gonna change – magento shopping card and newsletter subscribe not integration to OroCRMJuly 21, 2016 at 7:02 am #27239Hi Abel,
Please let me clarify: You have installed the newest OroCRM Bridge and established a Magento integration but cannot import Shopping carts and Newsletter subscribers to OroCRM, correct?
If so, please provide us any logs that you have for the integration job, preferably for the initial sync, so we can investigate the cause. Thank you.
July 21, 2016 at 7:30 am #27240Hi,
Are you sure that your magento channel contains “Magento Shopping Cart” and “Magento Newsletter Subscriber” entities, also please check your “Sync Start Date” in magento integration, date shouldn’t be less than magento entities update date.
July 21, 2016 at 8:24 am #27241Did you setup your magento tracking configuration ? Please go to System -> Configuration -> OroCRM -> Oro Tracking. Here an example
July 21, 2016 at 6:12 pm #27242Hi Artem, I already use OroCRM Bridge v1.2.5.0 (newest version I found).
Here is my error when I use integration job:123[106.75 MiB/106.75 MiB] Some entities were skipped due to warnings:Error in row #1. Not found entity "Magento Shopping Cart"CompletedOnly the output of the order and customer are success.
July 21, 2016 at 6:24 pm #27243Hi Mike, my channel magento have 4 entity:
– Magento Customer
– Magento Shopping Cart
– Magento Order
– Magento Newsletter Subscriber
My sync start date is 1/7/2010, and I create new shoping cart and newsletter subcribe but it’s not sync.And with OroCRM tracking, I go magento admin System->Configuration->OroCRM, but in this page have API property only, not have OroCRM Tracking. I had configured website tracking in OroCRM site follow the instruction in https://oroinc.com/orocrm/doc/current/user-guide/marketing-tracking-website-records.
And was added tracking code on before any <body> tag in magento. But it’s not working.July 26, 2016 at 2:49 am #27244Hi,
It is strange. Did you install Oro Tracking via Magento Connect ? Do you have /app/code/community/Oro/Tracking directory ? Execute “app/console –env=prod cache:clear” and try again. For example i have following code before last </body> :
JavaScript1234567891011121314151617<script type="text/javascript">var _paq = _paq || [];_paq.push(['setUserId', "id=guest; visitor-id=10"]);_paq.push(['setConversionAttributionFirstReferrer', false]);_paq.push(['trackPageView']);(function() {var u="http://orocrm-application.local/";_paq.push(['setTrackerUrl', u+'tracking.php']);_paq.push(['setSiteId', 'mymag']);var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';g.defer=true; g.async=true; g.src=u+'bundles/orotracking/js/piwik.min.js'; s.parentNode.insertBefore(g,s);})();</script>Are you sure that domain contains slash (/) at the end and setSiteId equals between oro and magento?
If it didn’t help, try to debug tracking action. When you refresh a magento page be sure that you entered to it. If yes, check $isSuccessful and $response[‘errors’] variables.July 26, 2016 at 4:05 am #27245July 28, 2016 at 12:47 am #27246Hi Mike, sorry for later comment. I already install Oro Tracking via Magento Connect, but I’m not have directory /app/code/community/Oro/Tracking
August 1, 2016 at 2:14 am #27247Hi,
Do you still have issues with installing OroTracking? Did you check permissions on /app/code/community directory? What was Magento Connect say in log after installation?
August 4, 2016 at 9:17 pm #27248Hi Mike,
I have the same problem with Oro Tracking (not Oro Bridge)
I’ve already have Oro Tracking in community folder and also Magento Configuration.
I’ve also checked the trailing slash after URL, both in Magento Configuration and Oro Tracking Website.
But when I go to View page of Tracking Websites, no event is recorded.
Can you please help? Thank you very much
August 4, 2016 at 9:32 pm #27249I inspect a page in magento, and this is the script added
PHP123456789101112131415<script type="text/javascript">var _paq = _paq || [];_paq.push(['setUserId', "id=137; email=piavghoang@gmail.com; visitor-id=15"]);_paq.push(['setConversionAttributionFirstReferrer', false]);_paq.push(['trackPageView']);(function() {var u="http://magento.dev/";_paq.push(['setTrackerUrl', u+'tracking.php']);_paq.push(['setSiteId', 'magedev']);var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';g.defer=true; g.async=true; g.src=u+'bundles/orotracking/js/piwik.min.js'; s.parentNode.insertBefore(g,s);})();</script>I think there is nothing different from your code above
August 4, 2016 at 9:34 pm #27250The page I checked is magento.dev/home-decor/bed-bath/shea-enfused-hydrating-body-lotion.html
Is that because it lacks http:// at the beginning? I think it can NOT cause the problem.
August 4, 2016 at 10:00 pm #27251Oh I just found the problem. The Service Host Name in Magento Configuration must be Oro website Url, not Magento website url. I’m so stupid :))
January 17, 2017 at 5:41 am #27252Hi guys!
I’ve pasted the tracking code on my website yesterday and don’t see any events appear under Marketing –> Tracking Websites –> My Site
I’ve checked the Network tab on Chrome Developer’s tools and see the tag fired correctly and being answered with a 200 response code.
What am I doing wrong?
My site is animaedu.com
Thanks!
- AuthorReplies
The forum ‘OroCRM – Installation/Technical Issues or Problems’ is closed to new topics and replies.