DataBrighten

    Sample website traffic data

    1,000 × 10rows × columns in the 1,000-row file

    Updated 3 November 2026. Fictional U.S. businesses and people, generated with a fixed seed.

    textnumberdateyes/no
    Largest file10,000rows; also 100 and 1,000
    Columns10with a data dictionary below
    Dates2024-01-01 – 2024-06-15range in the file
    LicenceCC0synthetic, free for any use

    What is in it

    Each row is one day and one traffic channel, starting 1 January 2024: sessions, users, new users, pageviews, session length, bounce rate, conversions and revenue. Weekends are quieter and traffic grows slowly over time.

    First rows

    point at a column to light it up

    datedatechanneltextsessionsnumberusersnumbernew_usersnumberpageviewsnumberavg_session_secondsnumberbounce_ratenumberconversionsnumberrevenuenumber
    2024-01-01Organic search44635622510262050.5277442.83
    2024-01-01Direct244209717072550.55510710.96
    2024-01-01Referral8777522071040.377282.2
    2024-01-01Social156140924381790.323294.43
    2024-01-01Email6154312051480.3493161.46
    2024-01-01Paid search1039050265940.3244226.88
    2024-01-02Organic search48041024511542480.49810662.19
    2024-01-02Direct233188615242350.5918443.19
    2024-01-02Referral1018453191890.4913191.65
    2024-01-02Social153134812551510.339139.36

    Sessions by channel

    sessions, 1,000-row file

    Organic search70,405Direct43,804Social25,148Paid search20,031Referral15,265Email11,777
    Show as a table
    channelvalue
    Organic search70,405
    Direct43,804
    Social25,148
    Paid search20,031
    Referral15,265
    Email11,777
    Source: DataBrighten synthetic data (seed 42), computed from the file you can download here.

    Data dictionary

    ColumnTypeMeaning
    datedateDay (starts 2024-01-01)
    channeltextTraffic source
    sessionsintegerVisits
    usersintegerDistinct visitors
    new_usersintegerFirst-time visitors
    pageviewsintegerPages viewed
    avg_session_secondsintegerAverage session length in seconds
    bounce_ratedecimalSingle-page sessions / sessions
    conversionsintegerGoal completions
    revenuedecimalRevenue from conversions (USD)

    Practice questions

    answers checked in SQL and in Python

    Total sessions and conversions by channel?

    Organic search 70,405 sessions / 1,498 conversions; Direct 43,804 sessions / 1,497 conversions; Social 25,148 sessions / 228 conversions; Paid search 20,031 sessions / 581 conversions; Referral 15,265 sessions / 404 conversions; Email 11,777 sessions / 488 conversions

    SQL

    SELECT channel, SUM(sessions), SUM(conversions) FROM website_traffic GROUP BY channel ORDER BY SUM(sessions) DESC

    File: website-traffic-1000

    Which channel converts best (conversions / sessions)?

    Email, 4.14%

    Excel

    =SUMIFS(I:I,B:B,"Email")/SUMIFS(C:C,B:B,"Email")

    SQL

    SELECT channel, ROUND(100.0*SUM(conversions)/SUM(sessions),2) AS cr FROM website_traffic GROUP BY channel ORDER BY cr DESC LIMIT 1

    File: website-traffic-1000

    Average daily sessions on weekends vs weekdays (all channels)?

    weekday 1,213.6; weekend 868.0

    SQL

    SELECT CASE WHEN strftime('%w',date) IN ('0','6') THEN 'weekend' ELSE 'weekday' END AS k, ROUND(SUM(sessions)*1.0/COUNT(DISTINCT date),1) FROM website_traffic GROUP BY k ORDER BY k

    Only full days count: the 1,000-row file ends part-way through a day, which the SQL handles by dividing by distinct dates.

    File: website-traffic-1000