PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

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 please
If 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.

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?

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/

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?

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

Hi i will need an email from you to invite for ftp access.

Hello

Added  to  private  data

You have been invited

Hello

Ok!  I  Added  this  plugin to  adaptation queue

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?

 

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.

Hello

Which plugin exports data to GA?  This - https://share.pluginus.net/image/i20210614113708.png

 

Advanced Ecommerce Tracking Premium by TheDotStore

Hello

OK!  Great/ I will write to you as soon as I get the result

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

It still doesn't convert the value.

Just got an order in 76.5 euro, and in analytics it still says 76,5 DKK.

Hello

Ok!  I will  check  it

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