WOOCS currency in google analytics
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from jonas.pedersen@delfi.com on May 27, 2021, 10:26Hi,
I have EUR, SEK and DKK in my shop. DKK is default.
But when i recieve an order in euro, it doesnt calculate the amount in Google Analytics. If the order is 1000 EUR it just shows 1000 DKK in GA.How can i fix this, so it calculates everything into DKK?
Hi,
I have EUR, SEK and DKK in my shop. DKK is default.
But when i recieve an order in euro, it doesnt calculate the amount in Google Analytics. If the order is 1000 EUR it just shows 1000 DKK in GA.
How can i fix this, so it calculates everything into DKK?
Quote from Pablo Borysenco on May 27, 2021, 11:39Hello
Paste your license key here - https://c2n.me/43SC6rb.png -> https://c2n.me/42HBIt7.png
Read this please - https://currency-switcher.com/woocs-labs/
Hello
Paste your license key here - https://c2n.me/43SC6rb.png -> https://c2n.me/42HBIt7.png
Read this please - https://currency-switcher.com/woocs-labs/
Quote from jonas.pedersen@delfi.com on May 27, 2021, 12:52I just pased my licence key.
I have already looked in other support tickets but didn't quite find an answer i can use.
Can you please tell me how i can get the currencies converted into analytics?
I just pased my licence key.
I have already looked in other support tickets but didn't quite find an answer i can use.
Can you please tell me how i can get the currencies converted into analytics?
Quote from Pablo Borysenco on May 28, 2021, 11:02Hello
If you haven't found a solution here - https://currency-switcher.com/woocs-labs/
Please create new adaptation request
add wp-admin+FTP access to your test site/ I will add this plugin to the adaptation queue
Hello
If you haven't found a solution here - https://currency-switcher.com/woocs-labs/
Please create new adaptation request
add wp-admin+FTP access to your test site/ I will add this plugin to the adaptation queue
Quote from jonas.pedersen@delfi.com on May 28, 2021, 13:17Hi i will need an email from you to invite for ftp access.
Hi i will need an email from you to invite for ftp access.
Quote from Pablo Borysenco on May 31, 2021, 10:02Hello
Added to private data
Hello
Added to private data
Quote from jonas.pedersen@delfi.com on May 31, 2021, 11:02You have been invited
You have been invited
Quote from Pablo Borysenco on June 1, 2021, 11:17Hello
Ok! I Added this plugin to adaptation queue
Hello
Ok! I Added this plugin to adaptation queue
Quote from Pablo Borysenco on June 11, 2021, 17:08Hello
You can describe this problem in more detail.
how orders are exported for google analytics? with which plugin do you do this? What should I do to get this error?
Hello
You can describe this problem in more detail.
how orders are exported for google analytics? with which plugin do you do this? What should I do to get this error?
Quote from jonas.pedersen@delfi.com on June 14, 2021, 08:45Hi. I use this plugin for tracking to Google Analytics.
When a order in Swedish or English currency is made, then it doesn't calculate it in to Danish Kroner in analytics.
For example. A customer buys a product for 1000 euro in the shop, and when i look into Google Analytics, it just says 1000 Danish kroner which is not the same. It should be around 7500 Danish kroner. The default currency on the shop and analytics is Danish kroner.
Hi. I use this plugin for tracking to Google Analytics.
When a order in Swedish or English currency is made, then it doesn't calculate it in to Danish Kroner in analytics.
For example. A customer buys a product for 1000 euro in the shop, and when i look into Google Analytics, it just says 1000 Danish kroner which is not the same. It should be around 7500 Danish kroner. The default currency on the shop and analytics is Danish kroner.
Quote from Pablo Borysenco on June 14, 2021, 10:38Hello
Which plugin exports data to GA? This - https://share.pluginus.net/image/i20210614113708.png
Hello
Which plugin exports data to GA? This - https://share.pluginus.net/image/i20210614113708.png
Quote from jonas.pedersen@delfi.com on June 14, 2021, 10:39Advanced Ecommerce Tracking Premium by TheDotStore
Advanced Ecommerce Tracking Premium by TheDotStore
Quote from Pablo Borysenco on June 15, 2021, 10:26Hello
OK! Great/ I will write to you as soon as I get the result
Hello
OK! Great/ I will write to you as soon as I get the result
Quote from Pablo Borysenco on June 18, 2021, 18:54Hello
In file - "wp-content\plugins\woo-ecommerce-tracking-for-google-and-facebook\public\class-advance-ecommerce-tracking-public.php" - I added code - https://share.pluginus.net/image/i20210618195213.png
if(class_exists('WOOCS')){
global $WOOCS;
$currencies = $WOOCS->get_currencies();
$_order_currency = get_post_meta($order_id, '_order_currency', true);
$order_rate = get_post_meta($order_id, '_woocs_order_rate', true);
if (!$order_rate) {
if (isset($currencies[$_order_currency])) {
$order_rate = $currencies[$_order_currency]['rate'];
} else {
$order_rate = 1;
}
}
if ($_order_currency != $WOOCS->default_currency) {
$orders_detail['order_sub_total'] = $WOOCS->back_convert($orders_detail['order_sub_total'], $order_rate, 2);
$orders_detail['shipping_total'] = $WOOCS->back_convert( $orders_detail['shipping_total'], $order_rate, 2);
$orders_detail['order_total'] = $WOOCS->back_convert($orders_detail['order_total'], $order_rate, 2);
$orders_detail['tax'] = $WOOCS->back_convert($orders_detail['tax'], $order_rate, 2);
$orders_detail['coupon_discount'] = $WOOCS->back_convert($orders_detail['coupon_discount'], $order_rate, 2);
}
}Please do a test
If no luck - delete this code
Hello
In file -"wp-content\plugins\woo-ecommerce-tracking-for-google-and-facebook\public\class-advance-ecommerce-tracking-public.php" - I added code - https://share.pluginus.net/image/i20210618195213.png
if(class_exists('WOOCS')){
global $WOOCS;
$currencies = $WOOCS->get_currencies();
$_order_currency = get_post_meta($order_id, '_order_currency', true);
$order_rate = get_post_meta($order_id, '_woocs_order_rate', true);
if (!$order_rate) {
if (isset($currencies[$_order_currency])) {
$order_rate = $currencies[$_order_currency]['rate'];
} else {
$order_rate = 1;
}
}
if ($_order_currency != $WOOCS->default_currency) {
$orders_detail['order_sub_total'] = $WOOCS->back_convert($orders_detail['order_sub_total'], $order_rate, 2);
$orders_detail['shipping_total'] = $WOOCS->back_convert( $orders_detail['shipping_total'], $order_rate, 2);
$orders_detail['order_total'] = $WOOCS->back_convert($orders_detail['order_total'], $order_rate, 2);
$orders_detail['tax'] = $WOOCS->back_convert($orders_detail['tax'], $order_rate, 2);
$orders_detail['coupon_discount'] = $WOOCS->back_convert($orders_detail['coupon_discount'], $order_rate, 2);
}
}
Please do a test
If no luck - delete this code
Quote from jonas.pedersen@delfi.com on June 22, 2021, 11:06It still doesn't convert the value.
Just got an order in 76.5 euro, and in analytics it still says 76,5 DKK.
It still doesn't convert the value.
Just got an order in 76.5 euro, and in analytics it still says 76,5 DKK.
Quote from Pablo Borysenco on June 22, 2021, 12:10Hello
Ok! I will check it
Hello
Ok! I will check it
Quote from Pablo Borysenco on June 25, 2021, 19:04Hello
Ok
In file - wp-content\plugins\woo-ecommerce-tracking-for-google-and-facebook\public\class-advance-ecommerce-tracking-public.php - I added code - https://share.pluginus.net/image/i20210625195947.png
if(class_exists('WOOCS')){
global $WOOCS;
$current_currency = $WOOCS->current_currency;
if($WOOCS->default_currency !=$current_currency ){
$WOOCS->reset_currency();
}}
And - https://share.pluginus.net/image/i20210625200042.png
if(class_exists('WOOCS')){
global $WOOCS;if($WOOCS->current_currency !=$current_currency ){
$WOOCS->set_currency($current_currency);
}}
Do a test please
Hello
Ok
In file - wp-content\plugins\woo-ecommerce-tracking-for-google-and-facebook\public\class-advance-ecommerce-tracking-public.php - I added code - https://share.pluginus.net/image/i20210625195947.png
if(class_exists('WOOCS')){
global $WOOCS;
$current_currency = $WOOCS->current_currency;
if($WOOCS->default_currency !=$current_currency ){
$WOOCS->reset_currency();
}
}
And - https://share.pluginus.net/image/i20210625200042.png
if(class_exists('WOOCS')){
global $WOOCS;
if($WOOCS->current_currency !=$current_currency ){
$WOOCS->set_currency($current_currency);
}
}
Do a test please