-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.google_analytics_sample.ga_sessions_20170611`
(
  visitorId INT64,
  visitNumber INT64,
  visitId INT64,
  visitStartTime INT64,
  date STRING,
  totals STRUCT<visits INT64, hits INT64, pageviews INT64, timeOnSite INT64, bounces INT64, transactions INT64, transactionRevenue INT64, newVisits INT64, screenviews INT64, uniqueScreenviews INT64, timeOnScreen INT64, totalTransactionRevenue INT64, sessionQualityDim INT64>,
  trafficSource STRUCT<referralPath STRING, campaign STRING, source STRING, medium STRING, keyword STRING, adContent STRING, adwordsClickInfo STRUCT<campaignId INT64, adGroupId INT64, creativeId INT64, criteriaId INT64, page INT64, slot STRING, criteriaParameters STRING, gclId STRING, customerId INT64, adNetworkType STRING, targetingCriteria STRUCT<boomUserlistId INT64>, isVideoAd BOOL>, isTrueDirect BOOL, campaignCode STRING>,
  device STRUCT<browser STRING, browserVersion STRING, browserSize STRING, operatingSystem STRING, operatingSystemVersion STRING, isMobile BOOL, mobileDeviceBranding STRING, mobileDeviceModel STRING, mobileInputSelector STRING, mobileDeviceInfo STRING, mobileDeviceMarketingName STRING, flashVersion STRING, javaEnabled BOOL, language STRING, screenColors STRING, screenResolution STRING, deviceCategory STRING>,
  geoNetwork STRUCT<continent STRING, subContinent STRING, country STRING, region STRING, metro STRING, city STRING, cityId STRING, networkDomain STRING, latitude STRING, longitude STRING, networkLocation STRING>,
  customDimensions ARRAY<STRUCT<index INT64, value STRING>>,
  hits ARRAY<STRUCT<hitNumber INT64, time INT64, hour INT64, minute INT64, isSecure BOOL, isInteraction BOOL, isEntrance BOOL, isExit BOOL, referer STRING, page STRUCT<pagePath STRING, hostname STRING, pageTitle STRING, searchKeyword STRING, searchCategory STRING, pagePathLevel1 STRING, pagePathLevel2 STRING, pagePathLevel3 STRING, pagePathLevel4 STRING>, transaction STRUCT<transactionId STRING, transactionRevenue INT64, transactionTax INT64, transactionShipping INT64, affiliation STRING, currencyCode STRING, localTransactionRevenue INT64, localTransactionTax INT64, localTransactionShipping INT64, transactionCoupon STRING>, item STRUCT<transactionId STRING, productName STRING, productCategory STRING, productSku STRING, itemQuantity INT64, itemRevenue INT64, currencyCode STRING, localItemRevenue INT64>, contentInfo STRUCT<contentDescription STRING>, appInfo STRUCT<name STRING, version STRING, id STRING, installerId STRING, appInstallerId STRING, appName STRING, appVersion STRING, appId STRING, screenName STRING, landingScreenName STRING, exitScreenName STRING, screenDepth STRING>, exceptionInfo STRUCT<description STRING, isFatal BOOL, exceptions INT64, fatalExceptions INT64>, eventInfo STRUCT<eventCategory STRING, eventAction STRING, eventLabel STRING, eventValue INT64>, product ARRAY<STRUCT<productSKU STRING, v2ProductName STRING, v2ProductCategory STRING, productVariant STRING, productBrand STRING, productRevenue INT64, localProductRevenue INT64, productPrice INT64, localProductPrice INT64, productQuantity INT64, productRefundAmount INT64, localProductRefundAmount INT64, isImpression BOOL, isClick BOOL, customDimensions ARRAY<STRUCT<index INT64, value STRING>>, customMetrics ARRAY<STRUCT<index INT64, value INT64>>, productListName STRING, productListPosition INT64>>, promotion ARRAY<STRUCT<promoId STRING, promoName STRING, promoCreative STRING, promoPosition STRING>>, promotionActionInfo STRUCT<promoIsView BOOL, promoIsClick BOOL>, refund STRUCT<refundAmount INT64, localRefundAmount INT64>, eCommerceAction STRUCT<action_type STRING, step INT64, option STRING>, experiment ARRAY<STRUCT<experimentId STRING, experimentVariant STRING>>, publisher STRUCT<dfpClicks INT64, dfpImpressions INT64, dfpMatchedQueries INT64, dfpMeasurableImpressions INT64, dfpQueries INT64, dfpRevenueCpm INT64, dfpRevenueCpc INT64, dfpViewableImpressions INT64, dfpPagesViewed INT64, adsenseBackfillDfpClicks INT64, adsenseBackfillDfpImpressions INT64, adsenseBackfillDfpMatchedQueries INT64, adsenseBackfillDfpMeasurableImpressions INT64, adsenseBackfillDfpQueries INT64, adsenseBackfillDfpRevenueCpm INT64, adsenseBackfillDfpRevenueCpc INT64, adsenseBackfillDfpViewableImpressions INT64, adsenseBackfillDfpPagesViewed INT64, adxBackfillDfpClicks INT64, adxBackfillDfpImpressions INT64, adxBackfillDfpMatchedQueries INT64, adxBackfillDfpMeasurableImpressions INT64, adxBackfillDfpQueries INT64, adxBackfillDfpRevenueCpm INT64, adxBackfillDfpRevenueCpc INT64, adxBackfillDfpViewableImpressions INT64, adxBackfillDfpPagesViewed INT64, adxClicks INT64, adxImpressions INT64, adxMatchedQueries INT64, adxMeasurableImpressions INT64, adxQueries INT64, adxRevenue INT64, adxViewableImpressions INT64, adxPagesViewed INT64, adsViewed INT64, adsUnitsViewed INT64, adsUnitsMatched INT64, viewableAdsViewed INT64, measurableAdsViewed INT64, adsPagesViewed INT64, adsClicked INT64, adsRevenue INT64, dfpAdGroup STRING, dfpAdUnits STRING, dfpNetworkId STRING>, customVariables ARRAY<STRUCT<index INT64, customVarName STRING, customVarValue STRING>>, customDimensions ARRAY<STRUCT<index INT64, value STRING>>, customMetrics ARRAY<STRUCT<index INT64, value INT64>>, type STRING, social STRUCT<socialInteractionNetwork STRING, socialInteractionAction STRING, socialInteractions INT64, socialInteractionTarget STRING, socialNetwork STRING, uniqueSocialInteractions INT64, hasSocialSourceReferral STRING, socialInteractionNetworkAction STRING>, latencyTracking STRUCT<pageLoadSample INT64, pageLoadTime INT64, pageDownloadTime INT64, redirectionTime INT64, speedMetricsSample INT64, domainLookupTime INT64, serverConnectionTime INT64, serverResponseTime INT64, domLatencyMetricsSample INT64, domInteractiveTime INT64, domContentLoadedTime INT64, userTimingValue INT64, userTimingSample INT64, userTimingVariable STRING, userTimingCategory STRING, userTimingLabel STRING>, sourcePropertyInfo STRUCT<sourcePropertyDisplayName STRING, sourcePropertyTrackingId STRING>, contentGroup STRUCT<contentGroup1 STRING, contentGroup2 STRING, contentGroup3 STRING, contentGroup4 STRING, contentGroup5 STRING, previousContentGroup1 STRING, previousContentGroup2 STRING, previousContentGroup3 STRING, previousContentGroup4 STRING, previousContentGroup5 STRING, contentGroupUniqueViews1 INT64, contentGroupUniqueViews2 INT64, contentGroupUniqueViews3 INT64, contentGroupUniqueViews4 INT64, contentGroupUniqueViews5 INT64>, dataSource STRING, publisher_infos ARRAY<STRUCT<dfpClicks INT64, dfpImpressions INT64, dfpMatchedQueries INT64, dfpMeasurableImpressions INT64, dfpQueries INT64, dfpRevenueCpm INT64, dfpRevenueCpc INT64, dfpViewableImpressions INT64, dfpPagesViewed INT64, adsenseBackfillDfpClicks INT64, adsenseBackfillDfpImpressions INT64, adsenseBackfillDfpMatchedQueries INT64, adsenseBackfillDfpMeasurableImpressions INT64, adsenseBackfillDfpQueries INT64, adsenseBackfillDfpRevenueCpm INT64, adsenseBackfillDfpRevenueCpc INT64, adsenseBackfillDfpViewableImpressions INT64, adsenseBackfillDfpPagesViewed INT64, adxBackfillDfpClicks INT64, adxBackfillDfpImpressions INT64, adxBackfillDfpMatchedQueries INT64, adxBackfillDfpMeasurableImpressions INT64, adxBackfillDfpQueries INT64, adxBackfillDfpRevenueCpm INT64, adxBackfillDfpRevenueCpc INT64, adxBackfillDfpViewableImpressions INT64, adxBackfillDfpPagesViewed INT64, adxClicks INT64, adxImpressions INT64, adxMatchedQueries INT64, adxMeasurableImpressions INT64, adxQueries INT64, adxRevenue INT64, adxViewableImpressions INT64, adxPagesViewed INT64, adsViewed INT64, adsUnitsViewed INT64, adsUnitsMatched INT64, viewableAdsViewed INT64, measurableAdsViewed INT64, adsPagesViewed INT64, adsClicked INT64, adsRevenue INT64, dfpAdGroup STRING, dfpAdUnits STRING, dfpNetworkId STRING>>>>,
  fullVisitorId STRING,
  userId STRING,
  channelGrouping STRING,
  socialEngagementType STRING
);

INSERT INTO `bigquery-public-data.google_analytics_sample.ga_sessions_20170611` (visitorId, visitNumber, visitId, visitStartTime, date, totals, trafficSource, device, geoNetwork, customDimensions, hits, fullVisitorId, userId, channelGrouping, socialEngagementType) VALUES (NULL, 2, 1497196894, 1497196894, '20170611', {'visits': 1, 'hits': 1, 'pageviews': 1, 'timeOnSite': None, 'bounces': 1, 'transactions': None, 'transactionRevenue': None, 'newVisits': None, 'screenviews': None, 'uniqueScreenviews': None, 'timeOnScreen': None, 'totalTransactionRevenue': None, 'sessionQualityDim': None}, {'referralPath': '/Where-can-I-buy-a-stuffed-Go-language-gopher-mascot-online', 'campaign': '(not set)', 'source': 'quora.com', 'medium': 'referral', 'keyword': None, 'adContent': None, 'adwordsClickInfo': {'campaignId': None, 'adGroupId': None, 'creativeId': None, 'criteriaId': None, 'page': None, 'slot': None, 'criteriaParameters': 'not available in demo dataset', 'gclId': None, 'customerId': None, 'adNetworkType': None, 'targetingCriteria': None, 'isVideoAd': None}, 'isTrueDirect': None, 'campaignCode': None}, {'browser': 'Chrome', 'browserVersion': 'not available in demo dataset', 'browserSize': 'not available in demo dataset', 'operatingSystem': 'Macintosh', 'operatingSystemVersion': 'not available in demo dataset', 'isMobile': False, 'mobileDeviceBranding': 'not available in demo dataset', 'mobileDeviceModel': 'not available in demo dataset', 'mobileInputSelector': 'not available in demo dataset', 'mobileDeviceInfo': 'not available in demo dataset', 'mobileDeviceMarketingName': 'not available in demo dataset', 'flashVersion': 'not available in demo dataset', 'javaEnabled': None, 'language': 'not available in demo dataset', 'screenColors': 'not available in demo dataset', 'screenResolution': 'not available in demo dataset', 'deviceCategory': 'desktop'}, {'continent': 'Europe', 'subContinent': 'Eastern Europe', 'country': 'Poland', 'region': 'not available in demo dataset', 'metro': 'not available in demo dataset', 'city': 'not available in demo dataset', 'cityId': 'not available in demo dataset', 'networkDomain': 'chello.pl', 'latitude': 'not available in demo dataset', 'longitude': 'not available in demo dataset', 'networkLocation': 'not available in demo dataset'}, '[{''index'': 4, ''value'': ''EMEA''}]', '[{''hitNumber'': 1, ''time'': 0, ''hour'': 9, ''minute'': 1, ''isSecure'': None, ''isInteraction'': True, ''isEntrance'': True, ''isExit'': True, ''referer'': ''https://www.quora.com/Where-can-I-buy-a-stuffed-Go-language-gopher-mascot-online'', ''page'': {''pagePath'': ''/home'', ''hostname'': ''shop.googlemerchandisestore.com'', ''pageTitle'': ''Home'', ''searchKeyword'': ''gopher'', ''searchCategory'': ''(not set)'', ''pagePathLevel1'': ''/home'', ''pagePathLevel2'': '''', ''pagePathLevel3'': '''', ''pagePathLevel4'': ''''}, ''transaction'': None, ''item'': None, ''contentInfo'': None, ''appInfo'': {''name'': None, ''version'': None, ''id'': None, ''installerId'': None, ''appInstallerId'': None, ''appName'': None, ''appVersion'': None, ''appId'': None, ''screenName'': ''shop.googlemerchandisestore.com/home'', ''landingScreenName'': ''shop.googlemerchandisestore.com/home'', ''exitScreenName'': ''shop.googlemerchandisestore.com/home'', ''screenDepth'': ''0''}, ''exceptionInfo'': {''description'': None, ''isFatal'': True, ''exceptions'': None, ''fatalExceptions'': None}, ''eventInfo'': None, ''product'': array([], dtype=object), ''promotion'': array([{''promoId'': ''Apparel Row 1'', ''promoName'': ''Apparel'', ''promoCreative'': ''home_main_link_apparel.jpg'', ''promoPosition'': ''Row 1''},
        {''promoId'': ''Backpacks Row 2 Combo'', ''promoName'': ''Backpacks'', ''promoCreative'': ''home_bags_google_2.jpg'', ''promoPosition'': ''Row 2 Combo''},
        {''promoId'': ''Mens T-Shirts Row 3-1'', ''promoName'': ''Mens T-Shirts'', ''promoCreative'': ''mens-tshirts.jpg'', ''promoPosition'': ''Row 3-1''},
        {''promoId'': ''Womens T-Shirts Row 3-2'', ''promoName'': ''Womens T-Shirts'', ''promoCreative'': ''womens-tshirts.jpg'', ''promoPosition'': ''Row 3-2''},
        {''promoId'': ''Office Row 5 Color Combo'', ''promoName'': ''Office'', ''promoCreative'': ''green_row_link_to_office.jpg'', ''promoPosition'': ''Row 5 Color Combo''},
        {''promoId'': ''Drinkware Row 4 Color Combo'', ''promoName'': ''Drinkware'', ''promoCreative'': ''red_row_hydrate.jpg'', ''promoPosition'': ''Row 4 Color Combo''},
        {''promoId'': ''Google Brand Row 7-1'', ''promoName'': ''Google Brand'', ''promoCreative'': ''home_lower_google_500.jpg'', ''promoPosition'': ''Brand Row 7-1''},
        {''promoId'': ''YouTube Brand Row 7-2'', ''promoName'': ''YouTube Brand'', ''promoCreative'': ''home_lower_youtube_500.jpg'', ''promoPosition'': ''Brand Row 7-2''},
        {''promoId'': ''Android Brand Row 7-3'', ''promoName'': ''Andriod Brand'', ''promoCreative'': ''home_lower_android_500.jpg'', ''promoPosition'': ''Brand Row 7-3''}],
       dtype=object), ''promotionActionInfo'': {''promoIsView'': True, ''promoIsClick'': None}, ''refund'': None, ''eCommerceAction'': {''action_type'': ''0'', ''step'': 1, ''option'': None}, ''experiment'': array([], dtype=object), ''publisher'': None, ''customVariables'': array([], dtype=object), ''customDimensions'': array([], dtype=object), ''customMetrics'': array([], dtype=object), ''type'': ''PAGE'', ''social'': {''socialInteractionNetwork'': None, ''socialInteractionAction'': None, ''socialInteractions'': None, ''socialInteractionTarget'': None, ''socialNetwork'': ''Quora'', ''uniqueSocialInteractions'': None, ''hasSocialSourceReferral'': ''Yes'', ''socialInteractionNetworkAction'': '' : ''}, ''latencyTracking'': None, ''sourcePropertyInfo'': None, ''contentGroup'': {''contentGroup1'': ''(not set)'', ''contentGroup2'': ''(not set)'', ''contentGroup3'': ''(not set)'', ''contentGroup4'': ''(not set)'', ''contentGroup5'': ''(not set)'', ''previousContentGroup1'': ''(entrance)'', ''previousContentGroup2'': ''(entrance)'', ''previousContentGroup3'': ''(entrance)'', ''previousContentGroup4'': ''(entrance)'', ''previousContentGroup5'': ''(entrance)'', ''contentGroupUniqueViews1'': None, ''contentGroupUniqueViews2'': None, ''contentGroupUniqueViews3'': None, ''contentGroupUniqueViews4'': None, ''contentGroupUniqueViews5'': None}, ''dataSource'': ''web'', ''publisher_infos'': array([], dtype=object)}]', '0139682734272047116', NULL, 'Social', 'Not Socially Engaged'), (NULL, 1, 1497177976, 1497177976, '20170611', {'visits': 1, 'hits': 1, 'pageviews': 1, 'timeOnSite': None, 'bounces': 1, 'transactions': None, 'transactionRevenue': None, 'newVisits': 1, 'screenviews': None, 'uniqueScreenviews': None, 'timeOnScreen': None, 'totalTransactionRevenue': None, 'sessionQualityDim': None}, {'referralPath': '/', 'campaign': '(not set)', 'source': 'l.facebook.com', 'medium': 'referral', 'keyword': None, 'adContent': None, 'adwordsClickInfo': {'campaignId': None, 'adGroupId': None, 'creativeId': None, 'criteriaId': None, 'page': None, 'slot': None, 'criteriaParameters': 'not available in demo dataset', 'gclId': None, 'customerId': None, 'adNetworkType': None, 'targetingCriteria': None, 'isVideoAd': None}, 'isTrueDirect': None, 'campaignCode': None}, {'browser': 'Chrome', 'browserVersion': 'not available in demo dataset', 'browserSize': 'not available in demo dataset', 'operatingSystem': 'Windows', 'operatingSystemVersion': 'not available in demo dataset', 'isMobile': False, 'mobileDeviceBranding': 'not available in demo dataset', 'mobileDeviceModel': 'not available in demo dataset', 'mobileInputSelector': 'not available in demo dataset', 'mobileDeviceInfo': 'not available in demo dataset', 'mobileDeviceMarketingName': 'not available in demo dataset', 'flashVersion': 'not available in demo dataset', 'javaEnabled': None, 'language': 'not available in demo dataset', 'screenColors': 'not available in demo dataset', 'screenResolution': 'not available in demo dataset', 'deviceCategory': 'desktop'}, {'continent': 'Asia', 'subContinent': 'Eastern Asia', 'country': 'Taiwan', 'region': 'not available in demo dataset', 'metro': 'not available in demo dataset', 'city': 'not available in demo dataset', 'cityId': 'not available in demo dataset', 'networkDomain': 'unknown.unknown', 'latitude': 'not available in demo dataset', 'longitude': 'not available in demo dataset', 'networkLocation': 'not available in demo dataset'}, '[{''index'': 4, ''value'': ''APAC''}]', '[{''hitNumber'': 1, ''time'': 0, ''hour'': 3, ''minute'': 46, ''isSecure'': None, ''isInteraction'': True, ''isEntrance'': True, ''isExit'': True, ''referer'': ''https://l.facebook.com/'', ''page'': {''pagePath'': ''/google+redesign/shop+by+brand/youtube這裡可以買youtube正版衣服'', ''hostname'': ''shop.googlemerchandisestore.com'', ''pageTitle'': ''Page Unavailable'', ''searchKeyword'': None, ''searchCategory'': None, ''pagePathLevel1'': ''/google+redesign/'', ''pagePathLevel2'': ''/shop+by+brand/'', ''pagePathLevel3'': ''/youtube這裡可以買youtube正版衣服'', ''pagePathLevel4'': ''''}, ''transaction'': None, ''item'': None, ''contentInfo'': None, ''appInfo'': {''name'': None, ''version'': None, ''id'': None, ''installerId'': None, ''appInstallerId'': None, ''appName'': None, ''appVersion'': None, ''appId'': None, ''screenName'': ''shop.googlemerchandisestore.com/google+redesign/shop+by+brand/youtube這裡可以買youtube正版衣服'', ''landingScreenName'': ''shop.googlemerchandisestore.com/google+redesign/shop+by+brand/youtube這裡可以買youtube正版衣服'', ''exitScreenName'': ''shop.googlemerchandisestore.com/google+redesign/shop+by+brand/youtube這裡可以買youtube正版衣服'', ''screenDepth'': ''0''}, ''exceptionInfo'': {''description'': None, ''isFatal'': True, ''exceptions'': None, ''fatalExceptions'': None}, ''eventInfo'': None, ''product'': array([], dtype=object), ''promotion'': array([], dtype=object), ''promotionActionInfo'': None, ''refund'': None, ''eCommerceAction'': {''action_type'': ''0'', ''step'': 1, ''option'': None}, ''experiment'': array([], dtype=object), ''publisher'': None, ''customVariables'': array([], dtype=object), ''customDimensions'': array([], dtype=object), ''customMetrics'': array([], dtype=object), ''type'': ''PAGE'', ''social'': {''socialInteractionNetwork'': None, ''socialInteractionAction'': None, ''socialInteractions'': None, ''socialInteractionTarget'': None, ''socialNetwork'': ''Facebook'', ''uniqueSocialInteractions'': None, ''hasSocialSourceReferral'': ''Yes'', ''socialInteractionNetworkAction'': '' : ''}, ''latencyTracking'': None, ''sourcePropertyInfo'': None, ''contentGroup'': {''contentGroup1'': ''(not set)'', ''contentGroup2'': ''Brands'', ''contentGroup3'': ''(not set)'', ''contentGroup4'': ''(not set)'', ''contentGroup5'': ''(not set)'', ''previousContentGroup1'': ''(entrance)'', ''previousContentGroup2'': ''(entrance)'', ''previousContentGroup3'': ''(entrance)'', ''previousContentGroup4'': ''(entrance)'', ''previousContentGroup5'': ''(entrance)'', ''contentGroupUniqueViews1'': None, ''contentGroupUniqueViews2'': 1, ''contentGroupUniqueViews3'': None, ''contentGroupUniqueViews4'': None, ''contentGroupUniqueViews5'': None}, ''dataSource'': ''web'', ''publisher_infos'': array([], dtype=object)}]', '2938347266078031233', NULL, 'Social', 'Not Socially Engaged'), (NULL, 2, 1497198134, 1497198134, '20170611', {'visits': 1, 'hits': 1, 'pageviews': 1, 'timeOnSite': None, 'bounces': 1, 'transactions': None, 'transactionRevenue': None, 'newVisits': None, 'screenviews': None, 'uniqueScreenviews': None, 'timeOnScreen': None, 'totalTransactionRevenue': None, 'sessionQualityDim': None}, {'referralPath': '/offer/2145', 'campaign': '(not set)', 'source': '(direct)', 'medium': '(none)', 'keyword': None, 'adContent': None, 'adwordsClickInfo': {'campaignId': None, 'adGroupId': None, 'creativeId': None, 'criteriaId': None, 'page': None, 'slot': None, 'criteriaParameters': 'not available in demo dataset', 'gclId': None, 'customerId': None, 'adNetworkType': None, 'targetingCriteria': None, 'isVideoAd': None}, 'isTrueDirect': True, 'campaignCode': None}, {'browser': 'Chrome', 'browserVersion': 'not available in demo dataset', 'browserSize': 'not available in demo dataset', 'operatingSystem': 'Macintosh', 'operatingSystemVersion': 'not available in demo dataset', 'isMobile': False, 'mobileDeviceBranding': 'not available in demo dataset', 'mobileDeviceModel': 'not available in demo dataset', 'mobileInputSelector': 'not available in demo dataset', 'mobileDeviceInfo': 'not available in demo dataset', 'mobileDeviceMarketingName': 'not available in demo dataset', 'flashVersion': 'not available in demo dataset', 'javaEnabled': None, 'language': 'not available in demo dataset', 'screenColors': 'not available in demo dataset', 'screenResolution': 'not available in demo dataset', 'deviceCategory': 'desktop'}, {'continent': 'Americas', 'subContinent': 'Northern America', 'country': 'United States', 'region': 'New York', 'metro': 'New York NY', 'city': 'New York', 'cityId': 'not available in demo dataset', 'networkDomain': 'rr.com', 'latitude': 'not available in demo dataset', 'longitude': 'not available in demo dataset', 'networkLocation': 'not available in demo dataset'}, '[{''index'': 4, ''value'': ''North America''}]', '[{''hitNumber'': 1, ''time'': 0, ''hour'': 9, ''minute'': 22, ''isSecure'': None, ''isInteraction'': True, ''isEntrance'': True, ''isExit'': True, ''referer'': None, ''page'': {''pagePath'': ''/store.html'', ''hostname'': ''shop.googlemerchandisestore.com'', ''pageTitle'': ''Home'', ''searchKeyword'': None, ''searchCategory'': None, ''pagePathLevel1'': ''/store.html'', ''pagePathLevel2'': '''', ''pagePathLevel3'': '''', ''pagePathLevel4'': ''''}, ''transaction'': None, ''item'': None, ''contentInfo'': None, ''appInfo'': {''name'': None, ''version'': None, ''id'': None, ''installerId'': None, ''appInstallerId'': None, ''appName'': None, ''appVersion'': None, ''appId'': None, ''screenName'': ''shop.googlemerchandisestore.com/store.html'', ''landingScreenName'': ''shop.googlemerchandisestore.com/store.html'', ''exitScreenName'': ''shop.googlemerchandisestore.com/store.html'', ''screenDepth'': ''0''}, ''exceptionInfo'': {''description'': None, ''isFatal'': True, ''exceptions'': None, ''fatalExceptions'': None}, ''eventInfo'': None, ''product'': array([], dtype=object), ''promotion'': array([{''promoId'': ''Apparel Row 1'', ''promoName'': ''Apparel'', ''promoCreative'': ''home_main_link_apparel.jpg'', ''promoPosition'': ''Row 1''},
        {''promoId'': ''Backpacks Row 2 Combo'', ''promoName'': ''Backpacks'', ''promoCreative'': ''home_bags_google_2.jpg'', ''promoPosition'': ''Row 2 Combo''},
        {''promoId'': ''Mens T-Shirts Row 3-1'', ''promoName'': ''Mens T-Shirts'', ''promoCreative'': ''mens-tshirts.jpg'', ''promoPosition'': ''Row 3-1''},
        {''promoId'': ''Womens T-Shirts Row 3-2'', ''promoName'': ''Womens T-Shirts'', ''promoCreative'': ''womens-tshirts.jpg'', ''promoPosition'': ''Row 3-2''},
        {''promoId'': ''Office Row 5 Color Combo'', ''promoName'': ''Office'', ''promoCreative'': ''green_row_link_to_office.jpg'', ''promoPosition'': ''Row 5 Color Combo''},
        {''promoId'': ''Drinkware Row 4 Color Combo'', ''promoName'': ''Drinkware'', ''promoCreative'': ''red_row_hydrate.jpg'', ''promoPosition'': ''Row 4 Color Combo''},
        {''promoId'': ''Google Brand Row 7-1'', ''promoName'': ''Google Brand'', ''promoCreative'': ''home_lower_google_500.jpg'', ''promoPosition'': ''Brand Row 7-1''},
        {''promoId'': ''YouTube Brand Row 7-2'', ''promoName'': ''YouTube Brand'', ''promoCreative'': ''home_lower_youtube_500.jpg'', ''promoPosition'': ''Brand Row 7-2''},
        {''promoId'': ''Android Brand Row 7-3'', ''promoName'': ''Andriod Brand'', ''promoCreative'': ''home_lower_android_500.jpg'', ''promoPosition'': ''Brand Row 7-3''}],
       dtype=object), ''promotionActionInfo'': {''promoIsView'': True, ''promoIsClick'': None}, ''refund'': None, ''eCommerceAction'': {''action_type'': ''0'', ''step'': 1, ''option'': None}, ''experiment'': array([], dtype=object), ''publisher'': None, ''customVariables'': array([], dtype=object), ''customDimensions'': array([], dtype=object), ''customMetrics'': array([], dtype=object), ''type'': ''PAGE'', ''social'': {''socialInteractionNetwork'': None, ''socialInteractionAction'': None, ''socialInteractions'': None, ''socialInteractionTarget'': None, ''socialNetwork'': ''(not set)'', ''uniqueSocialInteractions'': None, ''hasSocialSourceReferral'': ''No'', ''socialInteractionNetworkAction'': '' : ''}, ''latencyTracking'': None, ''sourcePropertyInfo'': None, ''contentGroup'': {''contentGroup1'': ''(not set)'', ''contentGroup2'': ''(not set)'', ''contentGroup3'': ''(not set)'', ''contentGroup4'': ''(not set)'', ''contentGroup5'': ''(not set)'', ''previousContentGroup1'': ''(entrance)'', ''previousContentGroup2'': ''(entrance)'', ''previousContentGroup3'': ''(entrance)'', ''previousContentGroup4'': ''(entrance)'', ''previousContentGroup5'': ''(entrance)'', ''contentGroupUniqueViews1'': None, ''contentGroupUniqueViews2'': None, ''contentGroupUniqueViews3'': None, ''contentGroupUniqueViews4'': None, ''contentGroupUniqueViews5'': None}, ''dataSource'': ''web'', ''publisher_infos'': array([], dtype=object)}]', '0057826677844639343', NULL, 'Referral', 'Not Socially Engaged'), (NULL, 7, 1497173410, 1497173410, '20170611', {'visits': 1, 'hits': 1, 'pageviews': 1, 'timeOnSite': None, 'bounces': 1, 'transactions': None, 'transactionRevenue': None, 'newVisits': None, 'screenviews': None, 'uniqueScreenviews': None, 'timeOnScreen': None, 'totalTransactionRevenue': None, 'sessionQualityDim': None}, {'referralPath': '/analytics/web/', 'campaign': '(not set)', 'source': 'analytics.google.com', 'medium': 'referral', 'keyword': None, 'adContent': None, 'adwordsClickInfo': {'campaignId': None, 'adGroupId': None, 'creativeId': None, 'criteriaId': None, 'page': None, 'slot': None, 'criteriaParameters': 'not available in demo dataset', 'gclId': None, 'customerId': None, 'adNetworkType': None, 'targetingCriteria': None, 'isVideoAd': None}, 'isTrueDirect': True, 'campaignCode': None}, {'browser': 'Chrome', 'browserVersion': 'not available in demo dataset', 'browserSize': 'not available in demo dataset', 'operatingSystem': 'Macintosh', 'operatingSystemVersion': 'not available in demo dataset', 'isMobile': False, 'mobileDeviceBranding': 'not available in demo dataset', 'mobileDeviceModel': 'not available in demo dataset', 'mobileInputSelector': 'not available in demo dataset', 'mobileDeviceInfo': 'not available in demo dataset', 'mobileDeviceMarketingName': 'not available in demo dataset', 'flashVersion': 'not available in demo dataset', 'javaEnabled': None, 'language': 'not available in demo dataset', 'screenColors': 'not available in demo dataset', 'screenResolution': 'not available in demo dataset', 'deviceCategory': 'desktop'}, {'continent': 'Asia', 'subContinent': 'Eastern Asia', 'country': 'South Korea', 'region': 'Seoul', 'metro': '(not set)', 'city': 'Seoul', 'cityId': 'not available in demo dataset', 'networkDomain': 'unknown.unknown', 'latitude': 'not available in demo dataset', 'longitude': 'not available in demo dataset', 'networkLocation': 'not available in demo dataset'}, '[]', '[{''hitNumber'': 1, ''time'': 0, ''hour'': 2, ''minute'': 30, ''isSecure'': None, ''isInteraction'': True, ''isEntrance'': True, ''isExit'': True, ''referer'': ''https://analytics.google.com/analytics/web/?utm_source=demoaccount&utm_medium=demoaccount&utm_campaign=demoaccount'', ''page'': {''pagePath'': ''/google+redesign/brands/youtube/home'', ''hostname'': ''shop.googlemerchandisestore.com'', ''pageTitle'': ''Page Unavailable'', ''searchKeyword'': None, ''searchCategory'': None, ''pagePathLevel1'': ''/google+redesign/'', ''pagePathLevel2'': ''/brands/'', ''pagePathLevel3'': ''/youtube/'', ''pagePathLevel4'': ''/home''}, ''transaction'': None, ''item'': None, ''contentInfo'': None, ''appInfo'': {''name'': None, ''version'': None, ''id'': None, ''installerId'': None, ''appInstallerId'': None, ''appName'': None, ''appVersion'': None, ''appId'': None, ''screenName'': ''shop.googlemerchandisestore.com/google+redesign/brands/youtube/home'', ''landingScreenName'': ''shop.googlemerchandisestore.com/google+redesign/brands/youtube/home'', ''exitScreenName'': ''shop.googlemerchandisestore.com/google+redesign/brands/youtube/home'', ''screenDepth'': ''0''}, ''exceptionInfo'': {''description'': None, ''isFatal'': True, ''exceptions'': None, ''fatalExceptions'': None}, ''eventInfo'': None, ''product'': array([], dtype=object), ''promotion'': array([], dtype=object), ''promotionActionInfo'': None, ''refund'': None, ''eCommerceAction'': {''action_type'': ''0'', ''step'': 1, ''option'': None}, ''experiment'': array([], dtype=object), ''publisher'': None, ''customVariables'': array([], dtype=object), ''customDimensions'': array([], dtype=object), ''customMetrics'': array([], dtype=object), ''type'': ''PAGE'', ''social'': {''socialInteractionNetwork'': None, ''socialInteractionAction'': None, ''socialInteractions'': None, ''socialInteractionTarget'': None, ''socialNetwork'': ''(not set)'', ''uniqueSocialInteractions'': None, ''hasSocialSourceReferral'': ''No'', ''socialInteractionNetworkAction'': '' : ''}, ''latencyTracking'': None, ''sourcePropertyInfo'': None, ''contentGroup'': {''contentGroup1'': ''(not set)'', ''contentGroup2'': ''(not set)'', ''contentGroup3'': ''(not set)'', ''contentGroup4'': ''(not set)'', ''contentGroup5'': ''(not set)'', ''previousContentGroup1'': ''(entrance)'', ''previousContentGroup2'': ''(entrance)'', ''previousContentGroup3'': ''(entrance)'', ''previousContentGroup4'': ''(entrance)'', ''previousContentGroup5'': ''(entrance)'', ''contentGroupUniqueViews1'': None, ''contentGroupUniqueViews2'': None, ''contentGroupUniqueViews3'': None, ''contentGroupUniqueViews4'': None, ''contentGroupUniqueViews5'': None}, ''dataSource'': ''web'', ''publisher_infos'': array([], dtype=object)}]', '1849335962331709865', NULL, 'Referral', 'Not Socially Engaged'), (NULL, 1, 1497183621, 1497183621, '20170611', {'visits': 1, 'hits': 1, 'pageviews': 1, 'timeOnSite': None, 'bounces': 1, 'transactions': None, 'transactionRevenue': None, 'newVisits': 1, 'screenviews': None, 'uniqueScreenviews': None, 'timeOnScreen': None, 'totalTransactionRevenue': None, 'sessionQualityDim': None}, {'referralPath': '/analytics/web/', 'campaign': '(not set)', 'source': 'analytics.google.com', 'medium': 'referral', 'keyword': None, 'adContent': None, 'adwordsClickInfo': {'campaignId': None, 'adGroupId': None, 'creativeId': None, 'criteriaId': None, 'page': None, 'slot': None, 'criteriaParameters': 'not available in demo dataset', 'gclId': None, 'customerId': None, 'adNetworkType': None, 'targetingCriteria': None, 'isVideoAd': None}, 'isTrueDirect': None, 'campaignCode': None}, {'browser': 'Firefox', 'browserVersion': 'not available in demo dataset', 'browserSize': 'not available in demo dataset', 'operatingSystem': 'Windows', 'operatingSystemVersion': 'not available in demo dataset', 'isMobile': False, 'mobileDeviceBranding': 'not available in demo dataset', 'mobileDeviceModel': 'not available in demo dataset', 'mobileInputSelector': 'not available in demo dataset', 'mobileDeviceInfo': 'not available in demo dataset', 'mobileDeviceMarketingName': 'not available in demo dataset', 'flashVersion': 'not available in demo dataset', 'javaEnabled': None, 'language': 'not available in demo dataset', 'screenColors': 'not available in demo dataset', 'screenResolution': 'not available in demo dataset', 'deviceCategory': 'desktop'}, {'continent': 'Europe', 'subContinent': 'Eastern Europe', 'country': 'Poland', 'region': 'Greater Poland Voivodeship', 'metro': '(not set)', 'city': 'Poznan', 'cityId': 'not available in demo dataset', 'networkDomain': 'poznan.pl', 'latitude': 'not available in demo dataset', 'longitude': 'not available in demo dataset', 'networkLocation': 'not available in demo dataset'}, '[{''index'': 4, ''value'': ''EMEA''}]', '[{''hitNumber'': 1, ''time'': 0, ''hour'': 5, ''minute'': 20, ''isSecure'': None, ''isInteraction'': True, ''isEntrance'': True, ''isExit'': True, ''referer'': ''https://analytics.google.com/analytics/web/'', ''page'': {''pagePath'': ''/store.html'', ''hostname'': ''shop.googlemerchandisestore.com'', ''pageTitle'': ''Home'', ''searchKeyword'': None, ''searchCategory'': None, ''pagePathLevel1'': ''/store.html'', ''pagePathLevel2'': '''', ''pagePathLevel3'': '''', ''pagePathLevel4'': ''''}, ''transaction'': None, ''item'': None, ''contentInfo'': None, ''appInfo'': {''name'': None, ''version'': None, ''id'': None, ''installerId'': None, ''appInstallerId'': None, ''appName'': None, ''appVersion'': None, ''appId'': None, ''screenName'': ''shop.googlemerchandisestore.com/store.html'', ''landingScreenName'': ''shop.googlemerchandisestore.com/store.html'', ''exitScreenName'': ''shop.googlemerchandisestore.com/store.html'', ''screenDepth'': ''0''}, ''exceptionInfo'': {''description'': None, ''isFatal'': True, ''exceptions'': None, ''fatalExceptions'': None}, ''eventInfo'': None, ''product'': array([], dtype=object), ''promotion'': array([{''promoId'': ''Apparel Row 1'', ''promoName'': ''Apparel'', ''promoCreative'': ''home_main_link_apparel.jpg'', ''promoPosition'': ''Row 1''},
        {''promoId'': ''Backpacks Row 2 Combo'', ''promoName'': ''Backpacks'', ''promoCreative'': ''home_bags_google_2.jpg'', ''promoPosition'': ''Row 2 Combo''},
        {''promoId'': ''Mens T-Shirts Row 3-1'', ''promoName'': ''Mens T-Shirts'', ''promoCreative'': ''mens-tshirts.jpg'', ''promoPosition'': ''Row 3-1''},
        {''promoId'': ''Womens T-Shirts Row 3-2'', ''promoName'': ''Womens T-Shirts'', ''promoCreative'': ''womens-tshirts.jpg'', ''promoPosition'': ''Row 3-2''},
        {''promoId'': ''Office Row 5 Color Combo'', ''promoName'': ''Office'', ''promoCreative'': ''green_row_link_to_office.jpg'', ''promoPosition'': ''Row 5 Color Combo''},
        {''promoId'': ''Drinkware Row 4 Color Combo'', ''promoName'': ''Drinkware'', ''promoCreative'': ''red_row_hydrate.jpg'', ''promoPosition'': ''Row 4 Color Combo''},
        {''promoId'': ''Google Brand Row 7-1'', ''promoName'': ''Google Brand'', ''promoCreative'': ''home_lower_google_500.jpg'', ''promoPosition'': ''Brand Row 7-1''},
        {''promoId'': ''YouTube Brand Row 7-2'', ''promoName'': ''YouTube Brand'', ''promoCreative'': ''home_lower_youtube_500.jpg'', ''promoPosition'': ''Brand Row 7-2''},
        {''promoId'': ''Android Brand Row 7-3'', ''promoName'': ''Andriod Brand'', ''promoCreative'': ''home_lower_android_500.jpg'', ''promoPosition'': ''Brand Row 7-3''}],
       dtype=object), ''promotionActionInfo'': {''promoIsView'': True, ''promoIsClick'': None}, ''refund'': None, ''eCommerceAction'': {''action_type'': ''0'', ''step'': 1, ''option'': None}, ''experiment'': array([], dtype=object), ''publisher'': None, ''customVariables'': array([], dtype=object), ''customDimensions'': array([], dtype=object), ''customMetrics'': array([], dtype=object), ''type'': ''PAGE'', ''social'': {''socialInteractionNetwork'': None, ''socialInteractionAction'': None, ''socialInteractions'': None, ''socialInteractionTarget'': None, ''socialNetwork'': ''(not set)'', ''uniqueSocialInteractions'': None, ''hasSocialSourceReferral'': ''No'', ''socialInteractionNetworkAction'': '' : ''}, ''latencyTracking'': None, ''sourcePropertyInfo'': None, ''contentGroup'': {''contentGroup1'': ''(not set)'', ''contentGroup2'': ''(not set)'', ''contentGroup3'': ''(not set)'', ''contentGroup4'': ''(not set)'', ''contentGroup5'': ''(not set)'', ''previousContentGroup1'': ''(entrance)'', ''previousContentGroup2'': ''(entrance)'', ''previousContentGroup3'': ''(entrance)'', ''previousContentGroup4'': ''(entrance)'', ''previousContentGroup5'': ''(entrance)'', ''contentGroupUniqueViews1'': None, ''contentGroupUniqueViews2'': None, ''contentGroupUniqueViews3'': None, ''contentGroupUniqueViews4'': None, ''contentGroupUniqueViews5'': None}, ''dataSource'': ''web'', ''publisher_infos'': array([], dtype=object)}]', '5427273282182375576', NULL, 'Referral', 'Not Socially Engaged');